5 int main(int argc, char ** argv) {
13 init_pair(1, COLOR_CYAN, COLOR_BLACK);
14 init_pair(2, COLOR_BLACK, COLOR_CYAN);
17 getmaxyx(stdscr, height, width);
19 WINDOW * win = newwin(10,20,5,10);
20 WINDOW * todo_win = newwin(20,20,5,35);
21 WINDOW * bottombar = newwin(1,width,height-1,0);
27 string todo_list[3] = {"Contemplate life", "Question life", "Ponder about life"};
32 //ofc the first thing we need is vim keys
47 if (ch == 113) break; // q for quit
51 wattron(win,COLOR_PAIR(1));
53 mvwprintw(win, 0, 1, "lmao");
54 wattroff(win, A_BOLD);
55 wattroff(win,COLOR_PAIR(1));
56 mvwprintw(win, 1, 2, "poopoopeepee");
59 for (int i = 0; i < sizeof(todo_list)/sizeof(string); i++) {
60 mvwprintw(todo_win, 2*i, 0, todo_list[i].c_str());
64 wbkgd(bottombar, COLOR_PAIR(2));
65 mvwprintw(bottombar, 0, 2, "BOTTOM TEXT");