src/main.c

changeset 29
c6a1ad6cf749
parent 26
e0a76ee1bb2b
child 30
a285ee393860
equal deleted inserted replaced
28:0c1371488d87 29:c6a1ad6cf749
162 ); 162 );
163 return EXIT_SUCCESS; 163 return EXIT_SUCCESS;
164 } 164 }
165 initscr(); 165 initscr();
166 cbreak(); 166 cbreak();
167 keypad(stdscr, TRUE);
167 if (has_colors()) { 168 if (has_colors()) {
168 start_color(); 169 start_color();
169 init_colorpairs(); 170 init_colorpairs();
170 bkgd(COLOR_PAIR(COL_YB)); 171 bkgd(COLOR_PAIR(COL_YB));
171 } else { 172 } else {

mercurial