Compare commits

...

1 Commits

Author SHA1 Message Date
e74c5ec014
simple fixes 2023-04-15 20:24:56 +01:00
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);
} }