From c5d459bd10d1632f40924631d642cfaa40748663 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 27 Oct 2015 23:30:51 +0100 Subject: [PATCH] Clear screen before printing Hello World --- _posts/2015-10-23-printing-to-screen.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2015-10-23-printing-to-screen.md b/_posts/2015-10-23-printing-to-screen.md index 8d1ffc42..b6f99037 100644 --- a/_posts/2015-10-23-printing-to-screen.md +++ b/_posts/2015-10-23-printing-to-screen.md @@ -402,6 +402,7 @@ mod vga_buffer; #[no_mangle] pub extern fn rust_main() { // ATTENTION: we have a very small stack and no guard page + vga_buffer::clear_screen(); println!("Hello World{}", "!"); loop{}