summaryrefslogtreecommitdiff
path: root/Libraries/LibLine/InternalFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibLine/InternalFunctions.cpp')
-rw-r--r--Libraries/LibLine/InternalFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibLine/InternalFunctions.cpp b/Libraries/LibLine/InternalFunctions.cpp
index 5802492f28..dcac6a20c0 100644
--- a/Libraries/LibLine/InternalFunctions.cpp
+++ b/Libraries/LibLine/InternalFunctions.cpp
@@ -244,7 +244,7 @@ void Editor::enter_search()
m_search_editor->on_display_refresh = [this](Editor& search_editor) {
StringBuilder builder;
builder.append(Utf32View { search_editor.buffer().data(), search_editor.buffer().size() });
- if (!search(builder.build())) {
+ if (!search(builder.build(), false, false)) {
m_buffer.clear();
m_cursor = 0;
}