Merge pull request #32 from abitmore/search-end-cleanup

Cleanup el_intr_pending in h_search_end()
This commit is contained in:
Joachim Nilsson
2019-05-08 17:11:02 +02:00
committed by GitHub

View File

@@ -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);