Giter VIP home page Giter VIP logo

Comments (15)

Gabirel avatar Gabirel commented on July 23, 2024 1

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

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

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

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

For MacOS users:

Please use item2 instead of iterm

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

image

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

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

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

capture

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

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

@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

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

it's the same problem

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

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

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

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.

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

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

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

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

Just make sure you don't use dash.

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

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

from hack-spacevim.

Gabirel avatar Gabirel commented on July 23, 2024

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.

from hack-spacevim.

ourml avatar ourml commented on July 23, 2024

Thanks

from hack-spacevim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.