mirror of
https://github.com/troglobit/editline.git
synced 2025-09-17 17:58:07 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user