ctk-curses: cleanup
This commit is contained in:
parent
5a4382a996
commit
976746f97f
1 changed files with 2 additions and 4 deletions
|
@ -45,6 +45,8 @@
|
|||
|
||||
/* references:
|
||||
* http://math.hws.edu/orr/s04/cpsc225/curses.html
|
||||
* http://linux.die.net/man/3/ncurses
|
||||
* http://linux.die.net/HOWTO/NCURSES-Programming-HOWTO/index.html
|
||||
*/
|
||||
|
||||
#define MKPAIR(bg, fg) (bg << 3 | fg)
|
||||
|
@ -114,10 +116,6 @@ console_init(void)
|
|||
/* will display an error and exit if the term can't be initialized */
|
||||
/*setupterm((char *)0, STDOUT_FILENO, (int *)0); */
|
||||
|
||||
/* references:
|
||||
* http://linux.die.net/man/3/ncurses
|
||||
* http://linux.die.net/HOWTO/NCURSES-Programming-HOWTO/index.html
|
||||
*/
|
||||
initscr();
|
||||
start_color();
|
||||
cbreak();
|
||||
|
|
Loading…
Reference in a new issue