mirror of
https://github.com/troglobit/editline.git
synced 2025-05-05 20:11:12 +08:00
Fi #31: Aborting i-search with Ctrl-C should not generate signal
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
4a17180d37
commit
e2c3b41d9a
@ -1036,7 +1036,8 @@ static el_status_t tty_special(int c)
|
||||
{
|
||||
#ifdef CONFIG_SIGINT
|
||||
if (c == rl_intr) {
|
||||
el_intr_pending = SIGINT;
|
||||
if (!Searching)
|
||||
el_intr_pending = SIGINT;
|
||||
return CSsignal;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user