diff options
-rw-r--r-- | toys/other/reset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/other/reset.c b/toys/other/reset.c index aa9b74ea..5fc59706 100644 --- a/toys/other/reset.c +++ b/toys/other/reset.c @@ -21,5 +21,6 @@ void reset_main(void) int fd = tty_fd(); // man 4 console_codes: reset terminal is ESC (no left bracket) c - xwrite(fd<0 ? 1 : fd, "\033c", 2); + // DEC private mode set enable wraparound sequence. + xwrite(fd<0 ? 1 : fd, "\033c\033[?7h", 2); } |