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:
parent
d90d125dfe
commit
3676214a62
5 changed files with 4 additions and 53 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue