diff options
Diffstat (limited to 'index.js')
-rwxr-xr-x | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js index c366ed7..e46bfa0 100755 --- a/index.js +++ b/index.js @@ -44,6 +44,7 @@ async function main() { appElement.on('quitRequested', () => { process.stdout.write(ansi.cleanCursor()) + process.stdout.write(ansi.disableAlternateScreen()) process.exit(0) }) @@ -67,6 +68,7 @@ async function main() { root.h = size.height root.fixAllLayout() + process.stdout.write(ansi.enableAlternateScreen()) process.stdout.write(ansi.startTrackingMouse()) const flushable = new Flushable(process.stdout, true) |