Skip to content

msetup: honor b_colorout option for setup output color#15949

Open
mayank-dev-15 wants to merge 1 commit into
mesonbuild:masterfrom
mayank-dev-15:13708-b-colorout-setup
Open

msetup: honor b_colorout option for setup output color#15949
mayank-dev-15 wants to merge 1 commit into
mesonbuild:masterfrom
mayank-dev-15:13708-b-colorout-setup

Conversation

@mayank-dev-15

Copy link
Copy Markdown
Contributor

The b_colorout option only controlled compiler output coloring. meson setup ignored it entirely, always detecting TTY.

Now when b_colorout=always, setup output is colorized even when stdout is piped. When b_colorout=never, color is suppressed even on a TTY. The 'auto' default still detects as before.

Fixes #13708

The b_colorout option only controlled compiler output coloring.
meson setup ignored it entirely, always detecting TTY.

Now when b_colorout=always, setup output is colorized even when
stdout is piped. When b_colorout=never, color is suppressed even
on a TTY. The 'auto' default still detects as before.

Fixes mesonbuild#13708
@mayank-dev-15 mayank-dev-15 requested a review from jpakkane as a code owner June 23, 2026 14:56
@bonzini bonzini added this to the 1.13 milestone Jun 23, 2026
@eli-schwartz

Copy link
Copy Markdown
Member

See discussion at #2491, we don't really want to reuse b_colorout here.

@eli-schwartz eli-schwartz removed this from the 1.13 milestone Jun 24, 2026
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.

meson setup output ignores b_colorout

3 participants