Skip to content

Strip ANSI escapes from stdout when it's not a TTY#16106

Draft
samestep wants to merge 1 commit into
NixOS:masterfrom
samestep:strip-color-on-non-tty-stdout
Draft

Strip ANSI escapes from stdout when it's not a TTY#16106
samestep wants to merge 1 commit into
NixOS:masterfrom
samestep:strip-color-on-non-tty-stdout

Conversation

@samestep

@samestep samestep commented Jul 6, 2026

Copy link
Copy Markdown

This is just a draft PR for now because I haven't reviewed the code yet.

Motivation

Resolves #4626, resolves #9486.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

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.

nix flake show does not respect NO_COLOR=true nix store diff-closures outputs control characters when piped/redirected

1 participant