aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wreadln.c')
-rw-r--r--src/wreadln.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wreadln.c b/src/wreadln.c
index 3ebba7f2a..d0204329e 100644
--- a/src/wreadln.c
+++ b/src/wreadln.c
@@ -44,6 +44,7 @@ wrln_gcmp_pre_cb_t wrln_pre_completion_callback = NULL;
wrln_gcmp_post_cb_t wrln_post_completion_callback = NULL;
extern void screen_bell(void);
+extern void sigstop(void);
char *
wreadln(WINDOW *w,
@@ -169,6 +170,11 @@ wreadln(WINDOW *w,
case ERR: /* ingnore errors */
break;
+#ifdef ENABLE_RAW_MODE
+ case 26:
+ sigstop();
+ break;
+#endif
case KEY_RESIZE:
/* a resize event -> call an external callback function */
if( wrln_resize_callback )