summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2022-09-26 14:01:43 +0200
committerquentin konieczko <konieczko@gmail.com>2022-09-28 09:11:00 +0200
commit309e1d1e5f74618f25b911f346d2ab84221940e1 (patch)
tree331fd0197c0c8a4f5268d8fcaf705b5d61cdc1d5
parente72f6b0144317d403f05db8ab3672603821199b7 (diff)
ensure jump index is reset
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index eb6a1f2..266ae0b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -596,6 +596,7 @@ impl Status {
fn event_jump(&mut self) {
if !self.flagged.is_empty() {
+ self.jump_index = 0;
self.mode = Mode::Jump
}
}