diff options
author | qkzk <qu3nt1n@gmail.com> | 2022-09-26 14:01:43 +0200 |
---|---|---|
committer | quentin konieczko <konieczko@gmail.com> | 2022-09-28 09:11:00 +0200 |
commit | 309e1d1e5f74618f25b911f346d2ab84221940e1 (patch) | |
tree | 331fd0197c0c8a4f5268d8fcaf705b5d61cdc1d5 | |
parent | e72f6b0144317d403f05db8ab3672603821199b7 (diff) |
ensure jump index is reset
-rw-r--r-- | src/main.rs | 1 |
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 } } |