aboutsummaryrefslogtreecommitdiff
path: root/src/line
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-19 10:38:11 +0000
committer_ov4 <ov4@ov4.org>2026-10-19 10:38:11 +0000
commit75c3db6a55685361ac54f6d7f7f795729f50152f (patch)
treefb29a22256d410fb78236b9ae8293e434915250c /src/line
parentc23e61b4455cee8669c7d594478a4238048f032f (diff)
adapt selfpipe and signal process to sigchld handler
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))