ctk-curses: remove unused code
The setupterm() call is not needed when using curses.
This commit is contained in:
parent
976746f97f
commit
8daf2b6659
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user