fix(output): align tables whose cells carry color codes

comfy-table counted ANSI escapes as cell width, so colored signal and
change cells pushed the right border out of line on a terminal. Its
custom_styling feature measures the visible width instead. Piped output
has no color and is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
hermes 2026-10-14 11:32:11 +00:00
commit 5b8a26499d
2 changed files with 72 additions and 1 deletions

View file

@ -26,7 +26,7 @@ clap.workspace = true
clap_complete = "4"
serde.workspace = true
serde_json.workspace = true
comfy-table = "7"
comfy-table = { version = "7", features = ["custom_styling"] }
owo-colors = "4"
toml.workspace = true
chrono.workspace = true