carvel-dev / carvel-dev/imgpkg
[windows] imgpkg displays color codes on display
- Dominant language
- Go
- Stars
- 284
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
**What steps did you take:**
Run any imgpkg command that displays color
i.e.
`imgpkg`
**What happened:**
The color codes are printed on the screen instead of changing the color of the text.
```
[31mimgpkg: Error: Use one of available subcommands: completion [bash|zsh|fish|powershell], copy, help [command], pull, push, tag, version[0m
```
**What did you expect:**
The text on the terminal to change color
**Anything else you would like to add:**
Ran the above commands using build-in windows command prompt
**Environment:**
Windows 10
- imgpkg version (use `imgpkg --version`): 0.19.0
- Docker registry used (e.g. `Docker HUB`):
- OS (e.g. from `/etc/os-release`): Windows 10
---
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
Contributor guide
Research direction
Start by reproducing any color-producing imgpkg command, such as `imgpkg`, in the built-in Windows command prompt on Windows 10. Trace the CLI's color-output behavior and verify that the terminal renders colored text instead of displaying escape sequences such as `[31m` and `[0m`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100