summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 10cdf35..408f47b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -13,8 +13,7 @@ main(void)
init_curses();
g = new_game();
- draw_game(g);
- getch();
+ run_game(g);
free_game(g);
fini_curses();
@@ -28,6 +27,7 @@ init_curses(void)
initscr();
noecho();
raw();
+ keypad(stdscr, TRUE);
curs_set(0);
}