josharsh / josharsh/xeli

Respect NO_COLOR / add --no-color flag

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
area:tui good first issue
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Some terminals and CI environments set [`NO_COLOR=1`](https://no-color.org/). xeli should drop accent colors when this is set, falling back to a monochrome theme.

**Where**: `src/ui/theme.rs` (add `Monochrome` variant), `src/main.rs` (read env var)
**Also**: a `--no-color` CLI flag for explicit override

Acceptance: `NO_COLOR=1 xeli examples/employees.csv` renders without ANSI color escapes for non-table chrome.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.