Ensure prompt output consistently uses stderr in raw-TTY mode

Open
#51 0 comments 0 reactions 1 assignee View on GitHub

@khvn26 is already working on this.

Since Jul 28, 2026.

Assessment

This issue has not been assessed yet.

Description

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
Dominant language
Go
Stars
12
Forks
3
Avg merge
14h 56m
Merged PRs (30d)
8

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Flagsmith/flagsmith-cli

All issues in Flagsmith/flagsmith-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.