diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-19 10:38:11 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-19 10:38:11 +0000 |
| commit | 75c3db6a55685361ac54f6d7f7f795729f50152f (patch) | |
| tree | fb29a22256d410fb78236b9ae8293e434915250c /src/line/input.cc | |
| parent | c23e61b4455cee8669c7d594478a4238048f032f (diff) | |
adapt selfpipe and signal process to sigchld handler
Diffstat (limited to 'src/line/input.cc')
| -rw-r--r-- | src/line/input.cc | 2 |
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)) |
