diff --git a/src/ncurses.cc b/src/ncurses.cc index 7b423fac..420d8d25 100644 --- a/src/ncurses.cc +++ b/src/ncurses.cc @@ -7,7 +7,10 @@ #include -#include +#define NCURSES_OPAQUE 0 +#define NCURSES_INTERNALS + +#include #include #include #include @@ -151,7 +154,7 @@ NCursesUI::NCursesUI() curs_set(0); start_color(); use_default_colors(); - ESCDELAY=25; + set_escdelay(25); signal(SIGWINCH, on_term_resize); signal(SIGINT, on_sigint);