m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Close handles to /dev/tty

This commit is contained in:
Junegunn Choi
2024-05-14 21:49:47 +09:00
parent d274d093af
commit 218843b9f1

View File

@@ -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) {