exit key and quickhelp

This commit is contained in:
🪞👃🪞 2025-03-23 00:18:08 +02:00
parent 26d05e544b
commit d443ccfc96
2 changed files with 9 additions and 2 deletions

View file

@ -27,6 +27,7 @@ impl Handle<TuiIn> for Taggart {
let event = &*input.event();
match &self.editing {
None => match event {
press!(Char('q')) => { input.done() },
press!(Up) => { self.cursor = self.cursor.saturating_sub(1); },
press!(Down) => { self.cursor = self.cursor + 1; },
press!(PageUp) => { self.cursor = self.cursor.saturating_sub(PAGE_SIZE); },