mirror of
https://github.com/walles/moar.git
synced 2024-07-14 23:30:25 +03:00
Forgot this in the last commit
This commit is contained in:
parent
f9e5031cbe
commit
3543b2ca5f
@ -193,9 +193,6 @@ func (screen *UnixScreen) Close() {
|
|||||||
screen.enableMouseTracking(false)
|
screen.enableMouseTracking(false)
|
||||||
screen.setAlternateScreenMode(false)
|
screen.setAlternateScreenMode(false)
|
||||||
|
|
||||||
// This will make the main loop exit
|
|
||||||
screen.ttyIn.Close()
|
|
||||||
|
|
||||||
err := screen.restoreTtyInTtyOut()
|
err := screen.restoreTtyInTtyOut()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// Debug logging because this is expected to fail in some cases:
|
// Debug logging because this is expected to fail in some cases:
|
||||||
|
Loading…
Reference in New Issue
Block a user