Skip to content

fix(cli): preserve setup colors when stdout is captured - #2829

Open
liangmiQwQ wants to merge 1 commit into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/setup-output-colors
Open

liangmiQwQ wants to merge 1 commit into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/setup-output-colors

Conversation

@liangmiQwQ

Copy link
Copy Markdown
Collaborator

The installer captures stdout for shell assignments and prints setup diagnostics to stderr. The shared heading and accent helpers still check stdout for color support, leaving setup headings plain even when status messages are colored.

This PR makes the helpers use the stream selected by the shared output routing, so setup headings and command hints keep their colors when stderr is a terminal. NO_COLOR remains respected.

🤖 Generated with Codex

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review September 26, 2026 08:46

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant