mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibLine: Properly handle window resize by not spamming DSRs
We have all the information necessary to find our new origin when a window size change occurs.
This commit is contained in:
parent
173c65660a
commit
f946d6ce79
2 changed files with 18 additions and 1 deletions
|
@ -168,6 +168,7 @@ private:
|
|||
m_origin_x = position[0];
|
||||
m_origin_y = position[1];
|
||||
}
|
||||
void recalculate_origin();
|
||||
void reposition_cursor();
|
||||
|
||||
Vector<char, 1024> m_buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue