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

Up and down cursor navigation doesnt work with many choices on choose #703

Open
mamazinho opened this issue Nov 6, 2024 · 0 comments
Open
Labels
bug Something isn't working cmd/choose

Comments

@mamazinho
Copy link

Describe the bug
When we have multiple items on screen in choose command, it's not possible change the "page" (scroll up and down) to see more items with cursor, the cursor dissappears and the options are resized according terminal size. The cursos has the behavior of a ghost cursor, navegating through options not showed on screen.

To Reproduce
Steps to reproduce the behavior:

  1. Create a choose with 200 items
  2. Executing
  3. Navegating with cursor

Expected behavior
The list must scroll up and down according cursor.
Follow cursor

Screenshots
image

Desktop (please complete the following information):

  • GUM version: v0.14.5
  • SO Info:
    Distributor ID: Ubuntu
    Description: Ubuntu 24.04.1 LTS
    Release: 24.04
    Codename: noble

Additional context
In the video is possible to see how the list adjusts according screen/terminal size instead follow the cursor
https://youtu.be/XXqJXxv98VA

@caarlos0 caarlos0 added cmd/choose bug Something isn't working labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cmd/choose
Projects
None yet
Development

No branches or pull requests

2 participants