From b755c23c1af5f1591618c975455645a277cb5f04 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Tue, 3 Nov 2020 12:47:10 -0700 Subject: [PATCH] Add Home and End support for top and bottom --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 3f5729b..8796596 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1261,8 +1261,8 @@ impl TTApp { AppMode::TaskReport => match input { Key::Ctrl('c') | Key::Char('q') => self.should_quit = true, Key::Char('r') => self.update()?, - Key::Char('g') => self.task_report_top(), - Key::Char('G') => self.task_report_bottom(), + Key::Home | Key::Char('g') => self.task_report_top(), + Key::End | Key::Char('G') => self.task_report_bottom(), 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(),