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

handle ANSI colors #43

Closed
willwhitney opened this issue May 26, 2015 · 3 comments
Closed

handle ANSI colors #43

willwhitney opened this issue May 26, 2015 · 3 comments

Comments

@willwhitney
Copy link
Collaborator

We already do this if Python is started without a kernelspec, but we need to do this regardless. Otherwise we get ANSI color codes as in #42.

@willwhitney
Copy link
Collaborator Author

Another option is to use strip-ansi

@TKCen
Copy link
Contributor

TKCen commented May 27, 2015

An alternative could be to support ansi via ansi2html and display outputs as rendered html.

@willwhitney willwhitney changed the title set --colors=NoColor for Python handle ANSI colors May 27, 2015
@Carreau
Copy link
Member

Carreau commented Jun 14, 2015

You can execute %colors nocolor IIRC to deactivate that live.

One of the things we should do anyway in IPtyhon itself is to transform the error into a mimebundle, so that you can grab the html/text/ansi as you wish.

@willwhitney willwhitney modified the milestone: v0.5.0 Jun 15, 2015
@willwhitney willwhitney removed this from the next release milestone Dec 14, 2015
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

3 participants