diff options
author | Kalle Wallin <kaw@linux.se> | 2004-07-13 15:28:43 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-07-13 15:28:43 +0000 |
commit | f674c3f262a6bf2542debd29c4aa61281a976cbc (patch) | |
tree | 54226e05acccdf1bad118b4dadde4c4d4f8b7e10 /src/screen_utils.c | |
parent | 2c6af7312cf617f40ab407323fd07a9fa5579495 (diff) | |
download | mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.gz mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.xz mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.zip |
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
Diffstat (limited to '')
-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); |