aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer/threads.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-05-02 22:17:15 +0200
committerGustav Sörnäs <gustav@sornas.net>2021-05-02 22:17:15 +0200
commitea012211b6ad4d6973504b334816c568af9e60f3 (patch)
treea9c51306fe7ac2152633e82768c7535296c7a0ce /src/buffer/threads.rs
parent8007ae6abafb95a9c3da6792590ff0cd19d9282c (diff)
downloadmail-ea012211b6ad4d6973504b334816c568af9e60f3.tar.gz
move to next when removing inbox tag
Diffstat (limited to 'src/buffer/threads.rs')
-rw-r--r--src/buffer/threads.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer/threads.rs b/src/buffer/threads.rs
index 9439bb4..85ffb0f 100644
--- a/src/buffer/threads.rs
+++ b/src/buffer/threads.rs
@@ -83,6 +83,7 @@ impl Threads {
},
Key::Char('i') => {
self.threads[self.i].remove_tag("inbox");
+ self.i += 1;
}
Key::Char('s') => {
let sent = Threads::from_query(String::from("tag:sent"));