Remove Terminal Color Symbol Barf #2

Closed
opened 2026-04-18 19:41:45 +00:00 by Quaternions · 1 comment

Use a library for terminal color, or remove the symbol barf from printing code.

Use a library for terminal color, or remove the symbol barf from printing code.
Quaternions changed title from Terminal Color Symbol Barf to Remove Terminal Color Symbol Barf 2026-04-18 19:48:21 +00:00
Owner

Fixed in commit 9b7e474.

Added owo-colors = "4" to Cargo.toml and replaced all raw ANSI escape sequences (e.g. \x1b[1;32m...\x1b[0m) across src/config.rs, src/detect.rs, src/diagnose.rs, src/main.rs, src/proton.rs, and src/service.rs with owo_colors::OwoColorize trait calls (e.g. "✓".green().bold()).


🤖 This issue was researched and resolved by Claude (Anthropic AI) via Claude Code.

Fixed in commit 9b7e474. Added `owo-colors = "4"` to `Cargo.toml` and replaced all raw ANSI escape sequences (e.g. `\x1b[1;32m...\x1b[0m`) across `src/config.rs`, `src/detect.rs`, `src/diagnose.rs`, `src/main.rs`, `src/proton.rs`, and `src/service.rs` with `owo_colors::OwoColorize` trait calls (e.g. `"✓".green().bold()`). --- > 🤖 This issue was researched and resolved by [Claude](https://claude.ai) (Anthropic AI) via [Claude Code](https://claude.ai/claude-code).
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: funman300/umutray#2