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
1 changed files with 2 additions and 2 deletions

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