diff options
Diffstat (limited to 'payloads/libpayload/curses/tinycurses.c')
-rw-r--r-- | payloads/libpayload/curses/tinycurses.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/curses/tinycurses.c b/payloads/libpayload/curses/tinycurses.c index fb492b6cea..fe6e7dee41 100644 --- a/payloads/libpayload/curses/tinycurses.c +++ b/payloads/libpayload/curses/tinycurses.c @@ -286,7 +286,9 @@ int endwin(void) return ERR; SP->_endwin = TRUE; +#ifdef NCURSES_MOUSE_VERSION SP->_mouse_wrap(SP); +#endif // _nc_screen_wrap(); // _nc_mvcur_wrap(); /* wrap up cursor addressing */ // return reset_shell_mode(); |