diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-14 21:49:47 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-14 21:49:47 +0900 |
commit | 218843b9f1466e179555fca668c93c7e81e88a71 (patch) | |
tree | 341ce94efc2b193cba78c058abcf73da333e275e /src/tui | |
parent | d274d093afa667a6ac5ee34579807de195ade784 (diff) |
Close handles to /dev/tty
Diffstat (limited to 'src/tui')
-rw-r--r-- | src/tui/light_unix.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tui/light_unix.go b/src/tui/light_unix.go index da675aa2..f153978e 100644 --- a/src/tui/light_unix.go +++ b/src/tui/light_unix.go @@ -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) { |