mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
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:
parent
1cf60d9dd7
commit
5b8a26499d
2 changed files with 72 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue