Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for faint colors #1622

Closed
sedyh opened this issue Apr 26, 2024 · 2 comments
Closed

Add support for faint colors #1622

sedyh opened this issue Apr 26, 2024 · 2 comments
Labels
state: can't repro Not enough information was given to reproduce the issue described.

Comments

@sedyh
Copy link

sedyh commented Apr 26, 2024

Hello, I noticed that cmd output from task does not support faint colors, as far as I know they work on most major platforms.
It would be great if they worked the same as without task.

image

image

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Apr 26, 2024
@pd93
Copy link
Member

pd93 commented Apr 26, 2024

@sedyh Do you have a reproducible example? Perhaps my attempt below is a bit naive, but it works so I'm unable to work out what the issue is:

version: 3

tasks:
  default:
    cmds:
      - echo -e "\e[2m16:48:50 \e[22;32mINF \e[0mheader ...\e[0m"

image

@pd93 pd93 added state: can't repro Not enough information was given to reproduce the issue described. and removed state: needs triage Waiting to be triaged by a maintainer. labels Apr 26, 2024
@sedyh
Copy link
Author

sedyh commented Apr 27, 2024

I apologize for the confusion, I double-checked the work of the command and noticed that it is not the task itself that cuts the colors, but the jetbrains-taskfile plugin. I think this issue can be closed then.

For anyone interested:
lechuckroh/task-intellij-plugin#8

@pd93 pd93 closed this as completed Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: can't repro Not enough information was given to reproduce the issue described.
Projects
None yet
Development

No branches or pull requests

3 participants