mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
The serial terminal now clears the screen using ANSI when initialized.
This commit is contained in:
parent
64d191a882
commit
4728809c00
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ namespace Sortix
|
|||
{
|
||||
void Reset()
|
||||
{
|
||||
// Set the cursor to (0,0)
|
||||
const char InitMessage[] = "\e[H";
|
||||
// Set the cursor to (0,0) and clear the screen.
|
||||
const char InitMessage[] = "\e[m\e[2J\e[H";
|
||||
UART::Write(InitMessage, Maxsi::String::Length(InitMessage));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue