1

some say I need to install iTerm because osx terminal only support 16 colors

but when I check the terminal.app it use xterm-256 and it support 256 color test

some say default osx doesn't support 256 colors (see the comment)

so I install newest screen from brew

but it still not showing correct color

my .vimrc

I also have check the color support using :set t_Co it says 256

the vim and the themes is just fine in gvim and iTerm2

is it because the ANSI color settings in terminal.app?

I think this is because my terminal.app not support 24 color it fail to run this script

8
  • Welcome to Vi and Vim! Can you confirm that Vim thinks it can do 256 colors, with :set t_Co? ? What about termguicolors, what does Vim say for :verb set tgc? ?
    – filbranden
    Dec 20 '20 at 3:43
  • :set t_Coreturn 256 :verb set tgc return nothing
    – buncis
    Dec 20 '20 at 4:32
  • The colorscheme you're using should work with 256 colors only... But not sure what you mean by "not showing correct color". You're correct that Terminal.app supports 256-color, but it doesn't support 24-bit color (termguicolors is 24-bit color). With 24-bit color you'll of course have more colors, so themes can be more precise about their choices. If you find you need 24-bit color, I suggest switch to iTerm2.
    – filbranden
    Dec 20 '20 at 5:28
  • oh I see so any workaround so that Terminal.app support 24-bit color? for now I use tmux I think its the screen that doesn't support 24-bit color
    – buncis
    Dec 20 '20 at 5:33
  • 2
    What do you mean by "a workaround to support TrueColor" when the application doesn't support it at all?
    – Matt
    Dec 20 '20 at 5:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.