diff options
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -836,7 +836,9 @@ void CRT_init(const Settings* settings, bool allowUnicode) { nonl(); intrflush(stdscr, false); keypad(stdscr, true); +#ifdef HAVE_GETMOUSE mouseinterval(0); +#endif curs_set(0); if (has_colors()) { @@ -910,11 +912,13 @@ void CRT_init(const Settings* settings, bool allowUnicode) { #endif CRT_treeStrAscii; +#ifdef HAVE_GETMOUSE #if NCURSES_MOUSE_VERSION > 1 mousemask(BUTTON1_RELEASED | BUTTON4_PRESSED | BUTTON5_PRESSED, NULL); #else mousemask(BUTTON1_RELEASED, NULL); #endif +#endif CRT_degreeSign = initDegreeSign(); } |