aboutsummaryrefslogtreecommitdiff
path: root/src/line
diff options
context:
space:
mode:
Diffstat (limited to 'src/line')
-rw-r--r--src/line/input.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/line/input.cc b/src/line/input.cc
index 1b9520b..c080869 100644
--- a/src/line/input.cc
+++ b/src/line/input.cc
@@ -7,6 +7,7 @@
#include "history.h"
#include "util/non_block_input.h"
#include "pipe.h"
+#include "signal_handler.h"
using namespace std;
@@ -33,6 +34,7 @@ string T_line_editor::readline(int prompt_len)
if (src == self_pipe_fd[0])
{
check_window_update();
+ process_signal();
continue;
}
if (iscntrl(c))