aboutsummaryrefslogtreecommitdiff
path: root/src/io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.rs')
-rw-r--r--src/io.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/io.rs b/src/io.rs
index 664fda2..27be847 100644
--- a/src/io.rs
+++ b/src/io.rs
@@ -27,10 +27,18 @@ pub fn _print(args: fmt::Arguments) {
CGASCREEN_GLOBAL.lock().write_fmt(args).unwrap();
}
-pub fn clear() {
+pub fn clear_screen() {
CGASCREEN_GLOBAL.lock().clear();
}
pub fn set_attr(attr: u8) {
CGASCREEN_GLOBAL.lock().setattr(attr);
}
+
+pub fn print_welcome() {
+ println!("--RuStuBs--");
+ println!(" _._ _,-'\"\"`-._ ~Meow");
+ println!(" (,-.`._,'( |\\`-/|");
+ println!(" `-.-' \\ )-`( , o o)");
+ println!(" `- \\`_`\"'-");
+}