1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:37:45 +00:00

LibVT: Rewrap the terminal history along with the normal buffer

This commit is contained in:
Ali Mohammad Pur 2021-06-22 20:01:24 +04:30 committed by Andreas Kling
parent 4bf14715a1
commit fcef84c461
2 changed files with 33 additions and 19 deletions

View file

@ -52,8 +52,8 @@ private:
};
struct CursorPosition {
u16 row { 0 };
u16 column { 0 };
size_t row { 0 };
size_t column { 0 };
void clamp(u16 max_row, u16 max_column)
{