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 confirm --show-output always outputs affirmative string #852

Closed
moritzdietz opened this issue Feb 11, 2025 · 0 comments · Fixed by #853
Closed

gum confirm --show-output always outputs affirmative string #852

moritzdietz opened this issue Feb 11, 2025 · 0 comments · Fixed by #853

Comments

@moritzdietz
Copy link

moritzdietz commented Feb 11, 2025

Describe the bug
When running gum confirm --show-output and selecting "No" the command prints "Are you sure? Yes"
I tried the latest main which is at a30c8bd but the problem still occurs.

You still get a negative exit code when selecting the negative option, but the String from --show-output is the affirmative one.

To Reproduce
Steps to reproduce the behavior:
gum confirm --show-output

Expected behavior
The command should print out "No" instead of "Yes" when selecting the negative option.

Screenshots
N/A

Desktop (please complete the following information):
Linux Mint 22.1 which is Ubuntu 22.04 on AMD

Smartphone (please complete the following information):
N/A

Additional context
Add any other context about the problem here.

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