mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +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
Notes:
sideshowbarker
2024-07-19 07:09:18 +09:00
Author: https://github.com/alimpfard
Commit: 977aa3968c
Pull-request: https://github.com/SerenityOS/serenity/pull/2031
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue