fixed tim_reset_terminal in unix.c
This commit is contained in:
@@ -65,6 +65,7 @@ void tim_reset_terminal(void) {
|
|||||||
tcsetattr(STDOUT_FILENO, TCSADRAIN, &tim->attr); // restore attributes
|
tcsetattr(STDOUT_FILENO, TCSADRAIN, &tim->attr); // restore attributes
|
||||||
tim_write_str(S("\33[?1000l")); // disable mouse
|
tim_write_str(S("\33[?1000l")); // disable mouse
|
||||||
tim_write_str(S("\33[?1002l")); // 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[m")); // reset colors
|
||||||
tim_write_str(S("\33[?25h")); // show cursor
|
tim_write_str(S("\33[?25h")); // show cursor
|
||||||
tim_write_str(S("\33[?1049l")); // exit alternate buffer
|
tim_write_str(S("\33[?1049l")); // exit alternate buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user