From c2b65646ea2ce3ebc07a527595615bb75dc15c5e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 8 May 2019 17:10:21 +0200 Subject: [PATCH] Revert "Fi #31: Aborting i-search with Ctrl-C should not generate signal" This reverts commit e2c3b41d9a9415fa13ca5ef4b57449f8ea03532f. --- src/editline.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/editline.c b/src/editline.c index 65ce034..55509ec 100644 --- a/src/editline.c +++ b/src/editline.c @@ -1036,8 +1036,7 @@ static el_status_t tty_special(int c) { #ifdef CONFIG_SIGINT if (c == rl_intr) { - if (!Searching) - el_intr_pending = SIGINT; + el_intr_pending = SIGINT; return CSsignal; } #endif