From b2c4a90bea03691ddde69737f5b4cc62ce0bd755 Mon Sep 17 00:00:00 2001 From: Timerix Date: Tue, 13 Jan 2026 18:19:41 +0500 Subject: [PATCH] fixed tim_reset_terminal in unix.c --- src/unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix.c b/src/unix.c index be67b62..4abbb1d 100755 --- a/src/unix.c +++ b/src/unix.c @@ -65,6 +65,7 @@ void tim_reset_terminal(void) { tcsetattr(STDOUT_FILENO, TCSADRAIN, &tim->attr); // restore attributes tim_write_str(S("\33[?1000l")); // disable mouse tim_write_str(S("\33[?1002l")); // disable mouse + tim_write_str(S("\33[?1006l")); // disable mouse tim_write_str(S("\33[m")); // reset colors tim_write_str(S("\33[?25h")); // show cursor tim_write_str(S("\33[?1049l")); // exit alternate buffer