stub help modal; cleanup

This commit is contained in:
🪞👃🪞 2025-04-06 16:22:12 +03:00
parent b157a87647
commit 4619d0ea76
9 changed files with 78 additions and 68 deletions

13
src/keys/help.rs Normal file
View file

@ -0,0 +1,13 @@
use crate::*;
impl Taggart {
pub fn handle_help (&mut self, event: &Event, _page: u8) {
match event {
press!(Esc) => { self.mode = None },
_ => {}
}
}
pub fn help_begin (&mut self) {
self.mode = Some(Mode::Help { page: 0 })
}
}