mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +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:
parent
23d99e92b9
commit
977aa3968c
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ private:
|
||||||
m_old_prompt_length = m_cached_prompt_length;
|
m_old_prompt_length = m_cached_prompt_length;
|
||||||
m_refresh_needed = true;
|
m_refresh_needed = true;
|
||||||
m_cursor = 0;
|
m_cursor = 0;
|
||||||
|
m_inline_search_cursor = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void refresh_display();
|
void refresh_display();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue