1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

Window contents move along with the window!

This commit is contained in:
Andreas Kling 2018-10-12 02:41:27 +02:00
parent 64127e0637
commit 6f6f9bd84d
10 changed files with 48 additions and 7 deletions

View file

@ -42,7 +42,7 @@ int main(int c, char** v)
win->setTitle("Console");
win->setRect({100, 300, 644, 254});
auto* t = new TerminalWidget(&w);
auto* t = new TerminalWidget(nullptr);
win->setMainWidget(t);
return loop.exec();