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
commit 977aa3968c
Notes: sideshowbarker 2024-07-19 07:09:18 +09:00

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();