diff --git a/Userland/Libraries/LibLine/Editor.cpp b/Userland/Libraries/LibLine/Editor.cpp index 1c3e22332a7..8c8d9af43e9 100644 --- a/Userland/Libraries/LibLine/Editor.cpp +++ b/Userland/Libraries/LibLine/Editor.cpp @@ -628,8 +628,8 @@ ErrorOr Editor::interrupted() auto stderr_stream = TRY(Core::File::standard_error()); TRY(reposition_cursor(*stderr_stream, true)); if (TRY(m_suggestion_display->cleanup())) { - m_times_tab_pressed = 0; TRY(reposition_cursor(*stderr_stream, true)); + TRY(cleanup_suggestions()); } TRY(stderr_stream->write_until_depleted("\r"sv.bytes())); }