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

Forwarding colored output #3

Open
cbuchart opened this issue May 2, 2018 · 3 comments
Open

Forwarding colored output #3

cbuchart opened this issue May 2, 2018 · 3 comments

Comments

@cbuchart
Copy link
Contributor

cbuchart commented May 2, 2018

It should be nice to forward the colored output from the command (it is very helpful in the git commands, for example, for a quicklook at the results).

@RDCH106
Copy link
Member

RDCH106 commented May 2, 2018

@cbuchart, could you send me a couple of snapshot?

I am not understanding what are you talking about exactly...

@cbuchart
Copy link
Contributor Author

cbuchart commented May 2, 2018

Something like this (the untracked file is in red):
image
Another example is git pull, when it downloads changes the output is also colored (green for additions, red for deletions).

@RDCH106
Copy link
Member

RDCH106 commented May 3, 2018

@cbuchart It is "quite" complex fix this problem. Originally the color is produced using ANSI escape sequences. The terminal or console has the responsibility of color preservation paying attention to the color escape sequences. PFS is calling to external shell and this external shell in Windows is CMD by default (and maybe by mandatory way). Linux shell usually doesn't present this type of problems.

As you can see the problem for color fixing it is not straightforward in its resolution.

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

No branches or pull requests

2 participants