1
Fork 0
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:
AnotherTest 2020-04-11 14:06:46 +04:30 committed by Andreas Kling
parent 173c65660a
commit f946d6ce79
2 changed files with 18 additions and 1 deletions

View file

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