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

XcodeColors support #10

Closed
paulz opened this issue Jun 25, 2016 · 2 comments
Closed

XcodeColors support #10

paulz opened this issue Jun 25, 2016 · 2 comments

Comments

@paulz
Copy link

paulz commented Jun 25, 2016

Thank you for useful library!


Does PrettyColors outputs strings that are colored in Xcode console output?

I've tried using XcodeColors, which works well with manually inserted color codes.
https://github.com/robbiehanson/XcodeColors
but could not seem get it to recognize PrettyColors strings.

Escape code in resulting string:
[fg64,64,192; works
[33;22m does not

@jdhealy
Copy link
Owner

jdhealy commented Jun 25, 2016

The ECMA-48 standardized ‘ANSI’ escape codes that PrettyColors outputs aren't supported by mainline robbiehanson/XcodeColors (though there is a pull request from 2014 which might be adpatable.)

With the additional constraint that Xcode 8 doesn't load in-process plugins (such as XcodeColors), explicitly adopting XcodeColors’s custom syntax doesn't seem worthwhile for PrettyColors.

Thanks for the interesting question, had fun looking into this! ✨

@jdhealy jdhealy closed this as completed Jun 25, 2016
@jdhealy jdhealy reopened this Jun 30, 2016
@jdhealy jdhealy closed this as completed Jun 30, 2016
@jdhealy
Copy link
Owner

jdhealy commented Jun 30, 2016

Reopened this by accident, sorry about that 😁

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