diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -10,10 +10,19 @@ void quit_handler(struct player_t *player) int main(int argc, char *argv[]) { - atexit(cleanup); curl_global_init(CURL_GLOBAL_DEFAULT); + atexit(cleanup); + + initscr(); + echo(); + nocbreak(); + nl(); + scrollok(stdscr, true); + + atexit(endwin); + struct player_t *player = malloc(sizeof(struct player_t)); memset(player, 0, sizeof(struct player_t)); |