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

True Color #7

Open
Gabirel opened this issue Apr 11, 2017 · 15 comments
Open

True Color #7

Gabirel opened this issue Apr 11, 2017 · 15 comments
Labels

Comments

@Gabirel
Copy link
Owner

Gabirel commented Apr 11, 2017

What is true color?

Why SpaceVim choose to use true colors by default?

Come from: #4 (comment)

@Gabirel
Copy link
Owner Author

Gabirel commented Apr 14, 2017

What does the terminal looks like without true color support?

ture-color-failure

ture-color-failure-2

Here's the test script:
https://raw.githubusercontent.com/Gabirel/toolkit-src/master/color_test/test_24bit.sh

What does the result if the terminal supports true color?

image

What should I do if my terminal has no true color support?

A: Use another one

@Gabirel
Copy link
Owner Author

Gabirel commented May 15, 2017

For windows user:

xshell doesn't support true colors.

@fcying has already requested this feature. xshell maybe support true color in the future version,

Solution

If you really want to use SpaceVim in xshell, please use SpaceVim in tmux in your xshell.

Note: tmux version >= 2.3

@Gabirel
Copy link
Owner Author

Gabirel commented May 24, 2017

For MacOS users:

Please use item2 instead of iterm

@ourml
Copy link

ourml commented Jul 4, 2017

image

@Gabirel
Copy link
Owner Author

Gabirel commented Jul 4, 2017

@ourml Please give more information about this error, such as how to execute it or something

@ourml
Copy link

ourml commented Jul 4, 2017

capture

when I click Enter, it shows lots of code like the that picture

@Gabirel
Copy link
Owner Author

Gabirel commented Jul 4, 2017

@ourml You could try bash test_24bit.sh instead of ./test_24bit.sh if your OS is Ubuntu or Debian. Let me know if it works

@ourml
Copy link

ourml commented Jul 4, 2017

it's the same problem

@ourml
Copy link

ourml commented Jul 4, 2017

my OS is Unbuntu Server, and it's running on virtual environment(The software 'VMware Workstation'), is that related to it?

@Gabirel
Copy link
Owner Author

Gabirel commented Jul 4, 2017

No, I don't think so. I guess your shell is zsh. However, zsh works for me though.

image

One thing needs to pay attention is that Ubuntu's shell uses dash as default. This could result in this kind of error. It's weird if you use bash to execute it.

Also, if you make sure your terminal doesn't support true color, just skip the tests.

@ourml
Copy link

ourml commented Jul 4, 2017

Yes, you are right, my shell is zsh, I try it agin

@Gabirel
Copy link
Owner Author

Gabirel commented Jul 4, 2017

Or, can you just go into bash and then execute it again?

Just make sure you don't use dash.

@ourml
Copy link

ourml commented Jul 4, 2017

I tried, but it's the same, even use the root to execute

@Gabirel
Copy link
Owner Author

Gabirel commented Jul 4, 2017

This problem has been fixed.

I will update the latest version of test script to make sure that everyone could use it without any errors.

@ourml
Copy link

ourml commented Jul 4, 2017

Thanks

@Gabirel Gabirel pinned this issue Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants