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

filter: add CLI flag to disable focus out/blur #792

Open
srithon opened this issue Jan 7, 2025 · 1 comment · May be fixed by #793
Open

filter: add CLI flag to disable focus out/blur #792

srithon opened this issue Jan 7, 2025 · 1 comment · May be fixed by #793
Assignees
Labels
bug Something isn't working

Comments

@srithon
Copy link
Contributor

srithon commented Jan 7, 2025

For one of my scripts, I'm using gum filter on a small list and would prefer to exit the program without selecting anything using a single escape rather than having to hit it twice: first to blur the textinput and again to exit. Note that exiting with ctrl+c isn't a substitute as this results in exit code 130 as opposed to exit code 1, which you get for exiting via escape.

Context: the "unfocusing" functionality was initially added in #776.

@srithon srithon linked a pull request Jan 7, 2025 that will close this issue
@bashbunni bashbunni added the enhancement New feature or request label Jan 8, 2025
@bashbunni bashbunni added bug Something isn't working and removed enhancement New feature or request labels Jan 8, 2025
@bashbunni
Copy link
Member

Hey, thanks for bringing this up - this is a bug in the current implementation. We will work on it, but no ETA at the moment :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants