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

Improve output highlighting #23

Open
donnemartin opened this issue Sep 22, 2015 · 2 comments
Open

Improve output highlighting #23

donnemartin opened this issue Sep 22, 2015 · 2 comments

Comments

@donnemartin
Copy link
Owner

@donnemartin donnemartin commented Sep 22, 2015

Some command outputs don't look great on a dark background:

screen shot 2015-09-22 at 11 24 58 am

Originally reported in #18 by @sesas

@donnemartin
Copy link
Owner Author

@donnemartin donnemartin commented Sep 22, 2015

SAWS is currently using the default pygments lexers, which don't appear to handle the outputs in discussion very well.

It seems adding support for this could be more involved.

@chorne-togetherwork
Copy link

@chorne-togetherwork chorne-togetherwork commented Jun 18, 2020

I noticed the following: https://github.com/donnemartin/saws/blob/master/saws/saws.py#L65

PYGMENTS_CMD = ' | pygmentize -l json'

I've only just started reading up on pygmentize, but would it be possible to apply the Theme to this command? Something like:

pygmentize -l json -O style=default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.