Show cursor on exit

This commit is contained in:
Toby Jaffey 2025-12-09 01:18:14 +00:00
parent 2cafc6fd74
commit 7b7b08e626

View file

@ -36,7 +36,7 @@ const uvm32_mapping_t env[] = {
void disableRawMode(void) {
tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);
printf("\033c");
printf("\033[?25h"); // show cursor
fflush(stdout);
}