From f674c3f262a6bf2542debd29c4aa61281a976cbc Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Tue, 13 Jul 2004 15:28:43 +0000 Subject: Use my_wgetch() instead of wgetch(), added --[no-]mouse option git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/screen_utils.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/screen_utils.c') diff --git a/src/screen_utils.c b/src/screen_utils.c index cd3fc1ed0..9870fc33a 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -63,25 +63,15 @@ screen_getch(WINDOW *w, char *prompt) curs_set(1); timeout(-1); - while( (key=wgetch(w)) == ERR ) + while( (key=my_wgetch(w)) == ERR ) ; -#ifdef ENABLE_RAW_MODE - if( key==KEY_SIGSTOP ) - sigstop(); -#endif - #ifdef HAVE_GETMOUSE /* ignore mouse events */ if( key==KEY_MOUSE ) return screen_getch(w, prompt); #endif - if( key==KEY_RESIZE ) - { - screen_resize(); - } - noecho(); curs_set(0); timeout(SCREEN_TIMEOUT); -- cgit v1.2.3