mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibLine: Update the prompt origin after resize + suggestion redisplay
This commit is contained in:
parent
86e1d1e73d
commit
2338d5fcda
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