Flagsmith / Flagsmith/flagsmith-cli
Ensure prompt output consistently uses stderr in raw-TTY mode
Ouverte
- Langage dominant
- Go
- Étoiles
- 12
- Forks
- 3
- Merge moyen
- 14 h 56 min
- PR mergées (30 j)
- 8
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
- Source PR: https://github.com/Flagsmith/flagsmith-cli/pull/43
- Review discussion: https://github.com/Flagsmith/flagsmith-cli/pull/43#discussion_r3666673374
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.