From 905d8b2aa567f5e876af9eb227f61d3794e506e8 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 2 May 2015 18:42:38 -0700 Subject: [PATCH] Don't stop history search on repaint Fixes #2044 --- reader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reader.cpp b/reader.cpp index 516a099e2..4fdd6cebd 100644 --- a/reader.cpp +++ b/reader.cpp @@ -4149,7 +4149,9 @@ const wchar_t *reader_readline(int nchars) (c != R_HISTORY_SEARCH_FORWARD) && (c != R_HISTORY_TOKEN_SEARCH_BACKWARD) && (c != R_HISTORY_TOKEN_SEARCH_FORWARD) && - (c != R_NULL)) + (c != R_NULL) && + (c != R_REPAINT) && + (c != R_FORCE_REPAINT)) { data->search_mode = NO_SEARCH; data->search_buff.clear();