Currently, prompt.run configures huh.Form.WithOutput(streams.ErrOut) only for accessible-mode prompts. In raw-TTY mode, the form uses huh's default TUI output stream, despite the prompt.IO documentation stating that prompts go to ErrOut.
Use huh.Form.WithOutput(streams.ErrOut) unconditionally.
Backlinks
Currently,
prompt.runconfigureshuh.Form.WithOutput(streams.ErrOut)only for accessible-mode prompts. In raw-TTY mode, the form uses huh's default TUI output stream, despite theprompt.IOdocumentation stating that prompts go toErrOut.Use
huh.Form.WithOutput(streams.ErrOut)unconditionally.Backlinks