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 input showing enter submit #642

Closed
tweetysat opened this issue Jul 27, 2024 · 2 comments
Closed

gum input showing enter submit #642

tweetysat opened this issue Jul 27, 2024 · 2 comments

Comments

@tweetysat
Copy link

I'm running Debian 12 bookworm(on the Windows Subsystem for Linux) and gum version v0.14.3 (5d96f84).

I don't know what could be happened but since a few weeks the input do not works as before.
It adds a blank line and a second with : enter submit. After entering a value those 2 lines disappears.

$gum input
> Type something...

enter submit 
> hello 

enter submit

hello

@piero-vic
Copy link
Contributor

New defaults I think. You can use the flag --no-show-help or set the enviroment variable GUM_INPUT_SHOW_HELP=flase.

gum input --no-show-help

@tweetysat
Copy link
Author

Great. It is working now. Thanks.
But be careful there is a typo : GUM_INPUT_SHOW_HELP=false

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

No branches or pull requests

2 participants