Skip to content

Ensure prompt output consistently uses stderr in raw-TTY mode #51

Description

@coderabbitai

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions