1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibLine: Reset inline_search_cursor along with cursor

This fixes the issue where the editor would only scroll up one command
and then 'search' for it
This commit is contained in:
AnotherTest 2020-04-30 14:53:49 +04:30 committed by Andreas Kling
parent 23d99e92b9
commit 977aa3968c

View file

@ -219,6 +219,7 @@ private:
m_old_prompt_length = m_cached_prompt_length;
m_refresh_needed = true;
m_cursor = 0;
m_inline_search_cursor = 0;
}
void refresh_display();