aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 1d77d0d2d..6cf3bf172 100644
--- a/src/command.c
+++ b/src/command.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <ctype.h>
#include <glib.h>
+#include <signal.h>
#include <ncurses.h>
#include "config.h"
@@ -391,12 +392,17 @@ get_keyboard_command_with_timeout(int ms)
if( key==KEY_RESIZE )
screen_resize();
+#ifdef ENABLE_RAW_MODE
+ if( key==KEY_SIGSTOP )
+ sigstop();
+#endif
+
if( key==ERR )
return CMD_NONE;
#ifdef HAVE_GETMOUSE
- if( key==KEY_MOUSE )
- return CMD_MOUSE_EVENT;
+ // if( key==KEY_MOUSE )
+ // return CMD_MOUSE_EVENT;
#endif
return get_key_command(key);