Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jump_backward requires two presses when capacity is reached #10967

Closed
thomasschafer opened this issue Jun 15, 2024 · 0 comments · Fixed by #10968
Closed

jump_backward requires two presses when capacity is reached #10967

thomasschafer opened this issue Jun 15, 2024 · 0 comments · Fixed by #10968
Labels
C-bug Category: This is a bug

Comments

@thomasschafer
Copy link
Contributor

thomasschafer commented Jun 15, 2024

Summary

When the JUMP_LIST_CAPACITY is reached, to jump backwards in the jumplist you need to use the jump_backward command twice. The first usage does nothing.

Reproduction Steps

  • Modify JUMP_LIST_CAPACITY (here) to 2 (to make it easier to reproduce), then build from source.
  • Repeat the following twice: hit Ctrl-s to save the position to the jumplist, then move down one line with j. The jumplist will now be at capacity.
  • Hit Ctrl-o to move backwards through the jumplist: the first press does nothing, only when pressing Ctrl-o a second time will the cursor move back to the line above.

Helix log

No response

Platform

macOS

Terminal Emulator

alacritty 0.13.2 (bb8ea18)

Installation Method

source

Helix Version

24.03-210-gdbacaadd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant