mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 09:36:42 +01:00
stub help modal; cleanup
This commit is contained in:
parent
b157a87647
commit
4619d0ea76
9 changed files with 78 additions and 68 deletions
15
src/model.rs
15
src/model.rs
|
|
@ -20,17 +20,10 @@ pub struct Taggart {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub enum Mode {
|
||||
Help,
|
||||
Edit {
|
||||
value: Arc<str>,
|
||||
index: usize,
|
||||
},
|
||||
Save {
|
||||
value: u8,
|
||||
},
|
||||
Quit {
|
||||
value: u8,
|
||||
},
|
||||
Help { page: u8 },
|
||||
Edit { value: Arc<str>, index: usize, },
|
||||
Save { choice: u8, },
|
||||
Quit { choice: u8, },
|
||||
}
|
||||
|
||||
impl Taggart {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue