aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer/threads.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-05-03 22:57:49 +0200
committerGustav Sörnäs <gustav@sornas.net>2021-05-03 22:59:13 +0200
commitb0bf51b90bc233024f1b82bf3f050d26f677b935 (patch)
treebdf6a8684fbd443d9186472b91c7cda989fc1e9a /src/buffer/threads.rs
parentc36df73b1e3d3c7f2feeda16e79bbdb2e1a4f251 (diff)
downloadmail-b0bf51b90bc233024f1b82bf3f050d26f677b935.tar.gz
scroll window
Closes #3
Diffstat (limited to 'src/buffer/threads.rs')
-rw-r--r--src/buffer/threads.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer/threads.rs b/src/buffer/threads.rs
index 49d9924..893b4ec 100644
--- a/src/buffer/threads.rs
+++ b/src/buffer/threads.rs
@@ -92,6 +92,8 @@ impl Threads {
} else {
self.i - 1
},
+ Key::Char('e') => window.scroll_down(),
+ Key::Char('y') => window.scroll_up(),
Key::Char('i') => {
self.threads[self.i].remove_tag("inbox");
self.i += 1;