You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Respect TTY detection and NO_COLOR in CLI output #36
bugSomething isn't workingcross-platformIssues related to making Vex work consistently across operating systems and architectures.ui/uxIssues related to command-line usability, diagnostics, and user experience.
vex --version always emits ANSI color escapes, including when stdout is redirected or NO_COLOR=1 is set. This was verified by piping the command to a byte dump on master.
Machine consumers, logs, release checks, and Windows terminals should not receive unconditional control sequences.
Expected behavior
Color should be automatic by default, disabled for non-terminals, and controllable through a documented policy.
Acceptance criteria
Disable color when the destination stream is not a terminal.
Honor the NO_COLOR convention.
Define a global --color auto|always|never interface if explicit override is needed.
Apply one policy to version output, diagnostics, and status messages.
Keep stdout and stderr policies independent.
Add tests that assert raw output bytes for redirected and explicit modes.
bugSomething isn't workingcross-platformIssues related to making Vex work consistently across operating systems and architectures.ui/uxIssues related to command-line usability, diagnostics, and user experience.
Activity