mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-09 23:05:59 +08:00
Close handles to /dev/tty
This commit is contained in:
1 file changed
+2
-1
@@ -47,7 +47,8 @@ func (r *LightRenderer) initPlatform() error {
|
||||
}
|
||||
|
||||
func (r *LightRenderer) closePlatform() {
|
||||
// NOOP
|
||||
r.ttyin.Close()
|
||||
r.ttyout.Close()
|
||||
}
|
||||
|
||||
func openTty(mode int) (*os.File, error) {
|
||||
|
||||
Reference in new issue
Block a user