ctk-curses: remove unused code
The setupterm() call is not needed when using curses.
This commit is contained in:
parent
976746f97f
commit
8daf2b6659
1 changed files with 0 additions and 9 deletions
|
@ -51,9 +51,6 @@
|
||||||
|
|
||||||
#define MKPAIR(bg, fg) (bg << 3 | fg)
|
#define MKPAIR(bg, fg) (bg << 3 | fg)
|
||||||
|
|
||||||
static int stdinhandle;
|
|
||||||
static int stdouthandle;
|
|
||||||
|
|
||||||
static unsigned char width;
|
static unsigned char width;
|
||||||
static unsigned char height;
|
static unsigned char height;
|
||||||
|
|
||||||
|
@ -110,12 +107,6 @@ console_init(void)
|
||||||
}
|
}
|
||||||
done = 1;
|
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();
|
initscr();
|
||||||
start_color();
|
start_color();
|
||||||
cbreak();
|
cbreak();
|
||||||
|
|
Loading…
Add table
Reference in a new issue