- return 0;
-
- // start ncurses
- initscr();
- cbreak();
- /* raw(); */
- noecho();
- start_color();
-
- init_pair(1, COLOR_CYAN, COLOR_BLACK);
- init_pair(2, COLOR_BLACK, COLOR_CYAN);
-
- getmaxyx(stdscr, height, width);
- x = y = 0;
- refresh();
-
- todo_win = create_list_win(20, 20, 5, 5);
-
- move(y,x);
- while ((ch = getch()) != 113) { // while not q
-
- // ofc the first thing we need is vim keys