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

gum file --cursor is not working properly #662

Open
UnixxSH opened this issue Aug 29, 2024 · 0 comments · May be fixed by #667
Open

gum file --cursor is not working properly #662

UnixxSH opened this issue Aug 29, 2024 · 0 comments · May be fixed by #667

Comments

@UnixxSH
Copy link

UnixxSH commented Aug 29, 2024

Describe the bug
Changing the cursor for the 'gum file' isn't working properly, neither with environment variable nor parameter.

To Reproduce
Method 1:

codespace@codespaces-ae80d9:/workspaces/test$ gum file --cursor "→ "
> -rw-rw-rw- README.md                                                                                                                                                     
                                                                                                                                                                        
↑ up • ↓ down • esc close • enter submit

Method 2:

codespace@codespaces-ae80d9:/workspaces/test$ export GUM_FILE_CURSOR="→ "
codespace@codespaces-ae80d9:/workspaces/test$ gum file
> -rw-rw-rw- README.md                                                                                                                                                     
                                                                                                                                                                        
↑ up • ↓ down • esc close • enter submit

Expected behavior
I expect the cursor to change as defined, this is working when using gum choose:

codespace@codespaces-ae80d9:/workspaces/test$ gum choose "test" "test" --cursor "→ "
Choose:    
→ test     
  test     
           
↑ up • ↓ down • / filter • enter submit

Additional context
Last gum version 0.14.4

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 a pull request may close this issue.

1 participant