mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
LibLine: Update the prompt origin after resize + suggestion redisplay
This commit is contained in:
parent
86e1d1e73d
commit
2338d5fcda
Notes:
sideshowbarker
2024-07-17 22:45:34 +09:00
Author: https://github.com/alimpfard
Commit: 2338d5fcda
Pull-request: https://github.com/SerenityOS/serenity/pull/11255
1 changed files with 1 additions and 0 deletions
|
@ -628,6 +628,7 @@ void Editor::handle_resize_event(bool reset_origin)
|
|||
|
||||
reposition_cursor(stderr_stream, true);
|
||||
m_suggestion_display->redisplay(m_suggestion_manager, m_num_lines, m_num_columns);
|
||||
m_origin_row = m_suggestion_display->origin_row();
|
||||
reposition_cursor(stderr_stream);
|
||||
|
||||
if (m_is_searching)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue