1
1
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:
Johan Walles 2024-06-30 09:09:38 +02:00
parent f9e5031cbe
commit 3543b2ca5f

View File

@ -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: