diff options
Diffstat (limited to 'src/screen_utils.c')
-rw-r--r-- | src/screen_utils.c | 12 |
1 files changed, 1 insertions, 11 deletions
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); |