summaryrefslogtreecommitdiff
path: root/Libraries/LibLine/Editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibLine/Editor.cpp')
-rw-r--r--Libraries/LibLine/Editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibLine/Editor.cpp b/Libraries/LibLine/Editor.cpp
index db63696561..18d691eb44 100644
--- a/Libraries/LibLine/Editor.cpp
+++ b/Libraries/LibLine/Editor.cpp
@@ -566,6 +566,7 @@ String Editor::get_line(const String& prompt)
suggest(0, 0, Span::CodepointOriented);
m_times_tab_pressed = 0;
m_suggestion_manager.reset();
+ m_suggestion_display->finish();
}
continue;
}
@@ -582,6 +583,7 @@ String Editor::get_line(const String& prompt)
}
m_suggestion_manager.reset();
suggest(0, 0, Span::CodepointOriented);
+ m_suggestion_display->finish();
}
m_times_tab_pressed = 0; // Safe to say if we get here, the user didn't press TAB