mirror of https://github.com/gdamore/tcell.git
Close the tty device when finishing.
This commit is contained in:
parent
15d485cfb5
commit
65821462b5
|
@ -52,7 +52,7 @@ func (tty *devTty) Write(b []byte) (int, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tty *devTty) Close() error {
|
func (tty *devTty) Close() error {
|
||||||
return nil
|
return tty.f.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tty *devTty) Start() error {
|
func (tty *devTty) Start() error {
|
||||||
|
|
Loading…
Reference in New Issue