Skip to content

Commit

Permalink
Fix repainting of the client prompt after fuzzy search
Browse files Browse the repository at this point in the history
Signed-off-by: Azat Khuzhin <[email protected]>
  • Loading branch information
azat committed Nov 22, 2022
1 parent 0479d8d commit 14d4980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/base/ReplxxLineReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ ReplxxLineReader::ReplxxLineReader(
auto interactive_history_search = [this](char32_t code)
{
openInteractiveHistorySearch();
rx.invoke(Replxx::ACTION::CLEAR_SELF, code);
return rx.invoke(Replxx::ACTION::REPAINT, code);
};
rx.bind_key(Replxx::KEY::control('R'), interactive_history_search);
Expand Down

0 comments on commit 14d4980

Please sign in to comment.