aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index ecac646..bfb60f9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -323,6 +323,9 @@ fn handle_input(event: termion::event::Event, tweeter: &mut tw::TwitterCache, qu
}
}
},
+ Event::Key(Key::End) => {
+ tweeter.display_info.infos_seek = 0;
+ }
Event::Key(Key::PageUp) => {
tweeter.display_info.infos_seek = tweeter.display_info.infos_seek.saturating_add(1);
}