mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 20:52:06 -07:00
Close handles to /dev/tty
This commit is contained in:
@@ -47,7 +47,8 @@ func (r *LightRenderer) initPlatform() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *LightRenderer) closePlatform() {
|
func (r *LightRenderer) closePlatform() {
|
||||||
// NOOP
|
r.ttyin.Close()
|
||||||
|
r.ttyout.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func openTty(mode int) (*os.File, error) {
|
func openTty(mode int) (*os.File, error) {
|
||||||
|
Reference in New Issue
Block a user