1
1
mirror of https://github.com/walles/moar.git synced 2024-11-22 03:14:56 +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.setAlternateScreenMode(false)
// This will make the main loop exit
screen.ttyIn.Close()
err := screen.restoreTtyInTtyOut()
if err != nil {
// Debug logging because this is expected to fail in some cases: