mirror of
https://github.com/troglobit/editline.git
synced 2025-09-24 15:58:08 +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
|
#ifdef CONFIG_SIGINT
|
||||||
if (c == rl_intr) {
|
if (c == rl_intr) {
|
||||||
el_intr_pending = SIGINT;
|
if (!Searching)
|
||||||
|
el_intr_pending = SIGINT;
|
||||||
return CSsignal;
|
return CSsignal;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user