mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Add support for gg
This commit is contained in:
parent
9bce46442b
commit
b5c04aafdc
1 changed files with 5 additions and 1 deletions
|
@ -1261,8 +1261,12 @@ impl TTApp {
|
|||
AppMode::TaskReport => match input {
|
||||
Key::Ctrl('c') | Key::Char('q') => self.should_quit = true,
|
||||
Key::Char('r') => self.update()?,
|
||||
Key::Home | Key::Char('g') => self.task_report_top(),
|
||||
Key::End | Key::Char('G') => self.task_report_bottom(),
|
||||
Key::Home => self.task_report_top(),
|
||||
Key::Char('g') => match events.next()? {
|
||||
Event::Input(Key::Char('g')) => self.task_report_top(),
|
||||
_ => (),
|
||||
},
|
||||
Key::Down | Key::Char('j') => self.task_report_next(),
|
||||
Key::Up | Key::Char('k') => self.task_report_previous(),
|
||||
Key::PageDown | Key::Char('J') => self.task_report_next_page(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue