Don't stop history search on repaint

Fixes #2044
This commit is contained in:
ridiculousfish 2015-05-02 18:42:38 -07:00
parent 3ca518255e
commit 905d8b2aa5

View file

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