mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:37:43 +00:00
parent
d9385d7d62
commit
5c25983844
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue