Kernel: Fix ANSI CSI 1J
I was accidentally clearing the whole screen when I needed to clear from cursor to the end of the screen
This commit is contained in:
parent
8de19aff3c
commit
f79db874bf
|
@ -251,7 +251,7 @@ namespace Kernel
|
|||
// Clear from cursor to the end of screen
|
||||
for (uint32_t i = m_column; i < m_width; i++)
|
||||
putchar_at(' ', i, m_row);
|
||||
for (uint32_t row = 0; row < m_height; row++)
|
||||
for (uint32_t row = m_row + 1; row < m_height; row++)
|
||||
for (uint32_t col = 0; col < m_width; col++)
|
||||
putchar_at(' ', col, row);
|
||||
return reset_ansi();
|
||||
|
|
Loading…
Reference in New Issue