1
Fork 0
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:
AnotherTest 2021-02-21 04:03:43 +03:30 committed by Andreas Kling
parent 84b2d4c475
commit 6472e5239c
3 changed files with 17 additions and 1 deletions

View file

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