diff --git a/platform/native/ctk/ctk-curses.c b/platform/native/ctk/ctk-curses.c index c5a4b4d61..6de8b1f9b 100644 --- a/platform/native/ctk/ctk-curses.c +++ b/platform/native/ctk/ctk-curses.c @@ -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();