Skip to content

gum confirm outputs not confirmed, no way to prevent output #809

@tj-smith47

Description

@tj-smith47

Describe the bug
gum confirm outputs not confirmed to the terminal when the negative action is selected.

To Reproduce
Steps to reproduce the behavior:

$ if gum confirm "Do you wanna?"; then echo "OK"; else echo "NAH"; fi
not confirmed
NAH

Expected behavior
This does not happen, or there is a flag quiet it to ensure a user can say no to a prompt in a script without having this printed each time.

Screenshots
Would essentially look the same as reproduction above.

Desktop (please complete the following information):

  • OS: MacOS Sequoia 15.3
  • Browser: N/A
  • Version: 0.15.0

Additional context
This either:

  1. Should not happen
  2. Should be something that can be controlled by a flag
  3. Is considered a breaking change and should say as much in the Release notes.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions