1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2011-08-12 17:29:45 +02:00
parent 64d191a882
commit 4728809c00

View file

@ -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));
}