mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00
Revert "Fi #31: Aborting i-search with Ctrl-C should not generate signal"
This reverts commit e2c3b41d9a
.
This commit is contained in:
parent
e2c3b41d9a
commit
c2b65646ea
@ -1036,8 +1036,7 @@ static el_status_t tty_special(int c)
|
|||||||
{
|
{
|
||||||
#ifdef CONFIG_SIGINT
|
#ifdef CONFIG_SIGINT
|
||||||
if (c == rl_intr) {
|
if (c == rl_intr) {
|
||||||
if (!Searching)
|
el_intr_pending = SIGINT;
|
||||||
el_intr_pending = SIGINT;
|
|
||||||
return CSsignal;
|
return CSsignal;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user