print error and also better welcome message

This commit is contained in:
2023-01-19 18:13:38 +01:00
parent 984c426df2
commit 60fc85772a
3 changed files with 19 additions and 13 deletions

View File

@ -60,6 +60,6 @@ impl<'a> Readline<'a> {
self.stdout.flush().unwrap();
let mut buffer = String::new();
self.stdin.read_line(&mut buffer).unwrap();
buffer.to_lowercase()
buffer
}
}