From 559290836b71462c5150963dbdfa33727500b710 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 10 Mar 2011 14:53:54 +0100 Subject: libpayload: Don't declare mouse support in tinycurses Change-Id: Id1ff3d85617e3ec063ce332cf13920dfbbb7cf26 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/87 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/curses/tinycurses.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads/libpayload/curses') 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(); -- cgit v1.2.3