mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-07 01:56:45 +01:00
exit key and quickhelp
This commit is contained in:
parent
26d05e544b
commit
d443ccfc96
2 changed files with 9 additions and 2 deletions
|
|
@ -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); },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue