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

the Color code be copied when copy string from xcode console #33

Open
Whirlwind opened this issue Mar 30, 2015 · 4 comments
Open

the Color code be copied when copy string from xcode console #33

Whirlwind opened this issue Mar 30, 2015 · 4 comments

Comments

@Whirlwind
Copy link

I found there are some �[fg204,121,32; be copied when I copy the strings from xcode console.
I think it is the color code which some invisible strings.
How to remove them when I copy?

@sdwornik
Copy link

Or better yet, a log viewer that interprets them would be more useful so that you can more easily parse the results outside of Xcode.

@DanSkeel
Copy link

@sdwornik +1. It would cool to add support for coloring .log files somewhere...
I created a stupid workaround - an xcode project (command line tool) that reads log file and prints each line with NSLog, as a result, you have colored readable log file in your xcode console.

Here is a main.m file https://gist.github.com/DanSkeel/a173ca5bc17c3846cfdb

@drekka
Copy link

drekka commented Aug 12, 2015

Hit the same annoying issue when I need to cut-n-paste from console to find. Looking at the source code for XCodeColors it appears that would be possible to colourise the text and remove the colour codes. But I'm not sure.

@ivnsch
Copy link

ivnsch commented Sep 15, 2016

Maybe also using some standard for the clipboard, html or so?

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

5 participants