Flagsmith / Flagsmith/flagsmith-cli
Ensure prompt output consistently uses stderr in raw-TTY mode
Đang mở
- Ngôn ngữ chính
- Go
- Star
- 12
- Fork
- 3
- Merge trung bình
- 14 giờ 56 phút
- Pull request đã merge (30 ngày)
- 8
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.