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:
Joachim Nilsson 2019-05-08 17:04:15 +02:00
parent 4a17180d37
commit e2c3b41d9a

View File

@ -1036,6 +1036,7 @@ static el_status_t tty_special(int c)
{
#ifdef CONFIG_SIGINT
if (c == rl_intr) {
if (!Searching)
el_intr_pending = SIGINT;
return CSsignal;
}