1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00: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
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;