diff options
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibLine/InternalFunctions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibLine/InternalFunctions.cpp b/Userland/Libraries/LibLine/InternalFunctions.cpp index b94f8d4067..834335d46c 100644 --- a/Userland/Libraries/LibLine/InternalFunctions.cpp +++ b/Userland/Libraries/LibLine/InternalFunctions.cpp @@ -264,6 +264,7 @@ void Editor::enter_search() m_search_editor->register_key_input_callback(ctrl('C'), [this](Editor& search_editor) { search_editor.finish(); m_reset_buffer_on_search_end = true; + search_editor.end_search(); search_editor.deferred_invoke([&search_editor](auto&) { search_editor.really_quit_event_loop(); }); return false; }); |