mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
LibLine: Update the lazy refresh data and flags in some more places
These were forgotten in the last LibLine commit, any changes to m_buffer not going through insert() and remove_at_index() should also be updating these. Fixes #5440.
This commit is contained in:
parent
84b2d4c475
commit
6472e5239c
3 changed files with 17 additions and 1 deletions
|
@ -319,6 +319,9 @@ private:
|
|||
m_refresh_needed = true;
|
||||
m_input_error.clear();
|
||||
m_returned_line = String::empty();
|
||||
m_chars_touched_in_the_middle = 0;
|
||||
m_drawn_end_of_line_offset = 0;
|
||||
m_drawn_spans = {};
|
||||
}
|
||||
|
||||
void refresh_display();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue