add potential fixes for turbo-c implementation

This commit is contained in:
Gregory Gauthier 2026-01-27 16:57:27 +00:00
parent 95b14b93eb
commit 39b87a5d27

View File

@ -70,7 +70,9 @@ static int main_game_loop(int argc, char *argv[]) {
/* Initialize ncurses */ /* Initialize ncurses */
stdscr = initscr(); stdscr = initscr();
curs_set(0); /* Hide cursor */ noecho(); /* Don't echo typed characters */
cbreak(); /* Disable line buffering */
curs_set(0);
keypad(stdscr, TRUE); /* Enable special key detection */ keypad(stdscr, TRUE); /* Enable special key detection */
clear(); clear();