mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00: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() {
|
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