mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibLine: Properly show and cleanup suggestions
Prior to this, we would display them and never clean then up.
This commit is contained in:
parent
502299919a
commit
173c65660a
Notes:
sideshowbarker
2024-07-19 07:43:11 +09:00
Author: https://github.com/alimpfard
Commit: 173c65660a
Pull-request: https://github.com/SerenityOS/serenity/pull/1741
2 changed files with 35 additions and 26 deletions
|
@ -177,9 +177,11 @@ private:
|
|||
size_t m_chars_inserted_in_the_middle { 0 };
|
||||
size_t m_times_tab_pressed { 0 };
|
||||
size_t m_num_columns { 0 };
|
||||
size_t m_num_lines { 1 };
|
||||
size_t m_cached_prompt_length { 0 };
|
||||
size_t m_old_prompt_length { 0 };
|
||||
size_t m_cached_buffer_size { 0 };
|
||||
size_t m_lines_used_for_last_suggestions { 0 };
|
||||
bool m_cached_prompt_valid { false };
|
||||
|
||||
// exact position before our prompt in the terminal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue