libpayload: Don't declare mouse support in tinycurses
[coreboot.git] / payloads / libpayload / curses / tinycurses.c
index fb492b6cea73889eed5004c3e7bc7dd74b1d3db9..fe6e7dee4102e9301c4bb82f7198577b46ffb7cc 100644 (file)
@@ -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();