mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
Window contents move along with the window!
This commit is contained in:
parent
64127e0637
commit
6f6f9bd84d
Notes:
sideshowbarker
2024-07-19 18:50:21 +09:00
Author: https://github.com/awesomekling
Commit: 6f6f9bd84d
10 changed files with 48 additions and 7 deletions
|
@ -16,7 +16,7 @@ TerminalWidget::TerminalWidget(Widget* parent)
|
|||
|
||||
auto& font = Font::defaultFont();
|
||||
|
||||
setRect({ 100, 300, (columns() * font.glyphWidth()) + 4, (rows() * font.glyphHeight()) + 4 });
|
||||
setRect({ 0, 0, (columns() * font.glyphWidth()) + 4, (rows() * font.glyphHeight()) + 4 });
|
||||
|
||||
printf("rekt: %d x %d\n", width(), height());
|
||||
m_screen = new CharacterWithAttributes[rows() * columns()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue