mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +00:00
Close handles to /dev/tty
This commit is contained in:
parent
d274d093af
commit
218843b9f1
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user