}
void game_start() {
- printf("\e[?1049h");
+ printf("\e[?1049h\e[?25l]");
struct termios oldtio, newtio;
tcgetattr(STDIN_FILENO, &oldtio);
newtio = oldtio;
game_loop(b);
print_score(b);
free_board(b);
- printf("\e[?1049l");
+ printf("\e[?1049l\e[?25h");
tcsetattr(STDIN_FILENO, TCSANOW, &oldtio);
}