mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
parent
d9385d7d62
commit
5c25983844
Notes:
sideshowbarker
2024-07-19 10:02:04 +09:00
Author: https://github.com/jcs Commit: https://github.com/SerenityOS/serenity/commit/5c259838440 Pull-request: https://github.com/SerenityOS/serenity/pull/1085
2 changed files with 7 additions and 2 deletions
|
@ -867,6 +867,11 @@ void Terminal::unimplemented_xterm_escape()
|
|||
|
||||
void Terminal::set_size(u16 columns, u16 rows)
|
||||
{
|
||||
if (!columns)
|
||||
columns = 1;
|
||||
if (!rows)
|
||||
rows = 1;
|
||||
|
||||
if (columns == m_columns && rows == m_rows)
|
||||
return;
|
||||
|
||||
|
|
|
@ -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 };
|
||||
|
|
Loading…
Add table
Reference in a new issue