mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Add support for PageUp and PageDown in calendar
This commit is contained in:
parent
3b7e6e2e77
commit
965d72a0ae
1 changed files with 6 additions and 0 deletions
|
@ -1286,6 +1286,12 @@ impl TTApp {
|
|||
}
|
||||
}
|
||||
Key::Down | Key::Char('j') => self.calendar_year += 1,
|
||||
Key::PageUp | Key::Char('K') => {
|
||||
if self.calendar_year > 0 {
|
||||
self.calendar_year -= 10
|
||||
}
|
||||
}
|
||||
Key::PageDown | Key::Char('J') => self.calendar_year += 10,
|
||||
Key::Ctrl('c') | Key::Char('q') => self.should_quit = true,
|
||||
_ => {}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue