Compare commits
1 Commits
production
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
e74c5ec014 |
@ -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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user