diff options
Diffstat (limited to 'ptyim.c')
-rw-r--r-- | ptyim.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,8 @@ void exit_main() { restore_stdin(); //clears the screen so the im statusline goes away write(STDIN_FILENO,"\033[2J", 4); + //resets scroll region + unrestrict_scroll(STDIN_FILENO); _exit(0); } //hook for when the pty child process dies |