aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 913ff96..7fe4d08 100644
--- a/main.c
+++ b/main.c
@@ -39,10 +39,12 @@ void init_board(board *b) {
}
void game_start() {
+ printf("\e[?1049h");
board *b = new_board();
game_loop(b);
print_score(b);
free_board(b);
+ printf("\e[?1049l");
}
void game_loop(board *b) {