simple fixes

This commit is contained in:
Maddie H 2023-04-15 20:24:56 +01:00
parent 7ff58d6f76
commit e74c5ec014
Signed by: maddie
GPG Key ID: C296DE8C9053683F
2 changed files with 4 additions and 4 deletions

View File

@ -10,9 +10,9 @@ pub enum BufferKind {
impl BufferKind { impl BufferKind {
pub fn as_str(&self) -> &str { pub fn as_str(&self) -> &str {
match self { match self {
BufferKind::Scratch => "*scratch*", BufferKind::Scratch => "*Scratch*",
BufferKind::Write => "write", BufferKind::Write => "Write",
BufferKind::Read => "read", BufferKind::Read => "Read",
} }
} }
} }

View File

@ -20,6 +20,6 @@ fn main() {
// Initalise a screen // Initalise a screen
let mut screen = terminal::screen::Screen::new().unwrap(); let mut screen = terminal::screen::Screen::new().unwrap();
// Begin lambda // Begin velocity
tui::ui::start(&mut screen, velocity); tui::ui::start(&mut screen, velocity);
} }