mirror of
https://github.com/troglobit/editline.git
synced 2025-05-05 20:11:12 +08:00
Merge pull request #32 from abitmore/search-end-cleanup
Cleanup el_intr_pending in h_search_end()
This commit is contained in:
commit
13f8d5f69c
@ -691,7 +691,7 @@ static el_status_t h_search_end(const char *p)
|
||||
rl_prompt = old_prompt;
|
||||
Searching = 0;
|
||||
|
||||
if (p == NULL && el_intr_pending > 0) {
|
||||
if (el_intr_pending > 0) {
|
||||
el_intr_pending = 0;
|
||||
clear_line();
|
||||
return redisplay(0);
|
||||
|
Loading…
Reference in New Issue
Block a user