1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

Remove remains of the old "panel" task.

...and grow the console by 1 row! :^)
This commit is contained in:
Andreas Kling 2018-10-23 15:47:03 +02:00
parent d90d125dfe
commit 3676214a62
Notes: sideshowbarker 2024-07-19 18:39:59 +09:00
5 changed files with 4 additions and 53 deletions

View file

@ -37,7 +37,7 @@ void Console::putChar(char ch)
switch (ch) {
case '\n':
m_cursorColumn = 0;
if (m_cursorRow == (m_rows - 2)) {
if (m_cursorRow == (m_rows - 1)) {
vga_scroll_up();
} else {
++m_cursorRow;
@ -50,7 +50,7 @@ void Console::putChar(char ch)
++m_cursorColumn;
if (m_cursorColumn >= m_columns) {
if (m_cursorRow == (m_rows - 2)) {
if (m_cursorRow == (m_rows - 1)) {
vga_scroll_up();
} else {
++m_cursorRow;