Skip to content

Feature: add support for cycle flag #802

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

22cnorton
Copy link

Checklist

check the box if it is not applicable to your changes

  • I have updated the README with the necessary documentation
  • I have added unit tests
  • I have added end-to-end tests
  • I have linked all related issues or PRs

Description of the changes

From this issue #553

When the --cycle flag is provided, going down from the first item will go to the last item, and going up from the last item will go to the first item.

Functions similarly to fzf, so it will only cycle from that item. That is, if page down is pressed, the selection will stop at the first item, and pressing it again will cycle

This adds fixes discussed in #796 (comment). I accidentally closed my previous PR when trying to fix it, as I am still learning how to use git correctly

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant