Skip to content

fix: Don't add leading zero to single digit ansi 256#269

Merged
epage merged 2 commits intorust-cli:mainfrom
Muscraft:no-leading-zero
Sep 29, 2025
Merged

fix: Don't add leading zero to single digit ansi 256#269
epage merged 2 commits intorust-cli:mainfrom
Muscraft:no-leading-zero

Conversation

@Muscraft
Copy link
Copy Markdown
Contributor

While working on getting rustc to use anstyle, I noticed that anstyte added an extra zero to Ansi256Color(0-9). This PR fixes that issue.

@epage epage merged commit f28db2d into rust-cli:main Sep 29, 2025
17 of 18 checks passed
@Muscraft Muscraft deleted the no-leading-zero branch September 29, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants