1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

Clip Painter operations to the screen rect.

This commit is contained in:
Andreas Kling 2018-10-12 22:50:28 +02:00
parent b5ff34174d
commit aceedaf957
4 changed files with 45 additions and 17 deletions

View file

@ -133,6 +133,9 @@ void TerminalWidget::onReceive(byte ch)
at(m_cursorRow, m_cursorColumn).character = ' ';
}
break;
case 27:
printf("TerminalWidget: got escape!\n");
break;
default:
addChar(ch);
break;