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

Change color scheme #16

Open
StefanUlbrich opened this issue Dec 20, 2016 · 5 comments
Open

Change color scheme #16

StefanUlbrich opened this issue Dec 20, 2016 · 5 comments

Comments

@StefanUlbrich
Copy link

Hi

how can I change xo's color scheme? On the default Ubuntu terminal (black on white background) I cannot see anything in xo. Second question: which is the meta key? Gnome intercepts the "windows" key.

Best
Stefan

@scopatz
Copy link
Owner

scopatz commented Dec 20, 2016

Hi Stefan, META is the Alt key for me with default Ubuntu keymapping settings. (META4 is the windows key.) So you can change the color scheme by using Alt+s and then typing in the color scheme you want to use. A list of possibilities will pop up.

@bawr
Copy link

bawr commented Jan 23, 2017

I tried changing the pygments style, opening a .py file for reference, but when I use meta+s, I get a prompt with a list of styles, type one of the listed names, press enter... and nothing changes.

I retried with pretty much all of the names that were listed - is there anything I can do to debug this?

EDIT: changing the colour scheme does work if I specify it in a config file, though.

@scopatz
Copy link
Owner

scopatz commented Feb 2, 2017

xo doesn't refresh the colors until the line needs to be redrawn (yes, this is a bug). So once you change with meta+s, you currently need to move the cursor over the line.

PRs welcome!

@susca
Copy link

susca commented Jun 11, 2017

Hi, is there a way to save the colour scheme, so that the next time I start xo, I don't have to choose it again?

Thanks

@scopatz
Copy link
Owner

scopatz commented Jun 15, 2017

Hi @susca, not yet, but pull requests are welcome!

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

4 participants