Close handles to /dev/tty

pull/3794/head
Junegunn Choi 3 weeks ago
parent d274d093af
commit 218843b9f1
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

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

Loading…
Cancel
Save