ctk-curses: remove unused code

The setupterm() call is not needed when using curses.
This commit is contained in:
François Revol 2013-03-30 23:15:08 +01:00
parent 976746f97f
commit 8daf2b6659
1 changed files with 0 additions and 9 deletions

View File

@ -51,9 +51,6 @@
#define MKPAIR(bg, fg) (bg << 3 | fg)
static int stdinhandle;
static int stdouthandle;
static unsigned char width;
static unsigned char height;
@ -110,12 +107,6 @@ console_init(void)
}
done = 1;
stdinhandle = STDIN_FILENO;
stdouthandle = STDOUT_FILENO;
/* will display an error and exit if the term can't be initialized */
/*setupterm((char *)0, STDOUT_FILENO, (int *)0); */
initscr();
start_color();
cbreak();