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

LibVT: enforce a minimum size of 1 column and 1 row

Fixes #829
This commit is contained in:
joshua stein 2020-01-15 21:13:54 -06:00 committed by Andreas Kling
parent d9385d7d62
commit 5c25983844
2 changed files with 7 additions and 2 deletions

View file

@ -150,8 +150,8 @@ private:
int m_scroll_region_top { 0 };
int m_scroll_region_bottom { 0 };
u16 m_columns { 0 };
u16 m_rows { 0 };
u16 m_columns { 1 };
u16 m_rows { 1 };
u16 m_cursor_row { 0 };
u16 m_cursor_column { 0 };