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

Wrong colors on Ubuntu in Windows Terminal (WSL) #41

Closed
ashrasmun opened this issue Aug 17, 2021 · 5 comments
Closed

Wrong colors on Ubuntu in Windows Terminal (WSL) #41

ashrasmun opened this issue Aug 17, 2021 · 5 comments

Comments

@ashrasmun
Copy link

Hey,

I just installed NeoVim (v0.4.3) and installed the embark theme. I'm using Ubuntu 20.04 LTS inside the Windows Terminal. After invoking :colorscheme embark the colors are different from what they should be.

image

I'm using it already inside GVim and I'm loving it, thank you for your work! 😊

@ashrasmun
Copy link
Author

The same thing happens in ConEmu and in classic cmd console as well.

@skbolton
Copy link
Collaborator

What terminal are you using? Looks like either termguicolors isn't turned on or the terminal doesn't support 24but color

@ashrasmun
Copy link
Author

I tried using xterm, xterm-256colors, xterm-24bit, source-256colors, but all in all, I think I just don't understand how to setup the terminal properly, as when I invoke https://github.com/tmux/tmux/blob/master/tools/24-bit-color.sh I get a blank black space.
image

At least 256 colors work... Sorry for the hassle. It's not a problem with the colorscheme.

@skbolton
Copy link
Collaborator

Yeah embark hasn't been back ported to work with 256 colors well. I would suggest going with a terminal that supports 24 bit color such as alacritty or kitty terminal. Once you have that and termguicolors on in (n)vim it should work fine.

@ashrasmun
Copy link
Author

Just in case someone finds this thread in the future:

Thanks for help!

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