Shougo/dein.vim

ANSI ESC[30m invisible in certain Terminal setups

samyilin opened this issue · 1 comments

Problems summary

If the user set terminal's background color and black color to be really similar, \x1B[30m will be hardly visible
(Example dark terminal color setup : Gruvbox Dark on Windows Terminal)

Expected

To have visible terminal outputs

Environment Information (Required!)

  • dein.vim version(SHA1):
    33a475f
  • OS:
    Windows (WSL)
  • neovim/Vim :version output:
    Irrelevant. This is more related to user's terminal setup. I know we can't customize terminal colorschemes for every user, but this color collision can be avoided by simply using a color other than black for certain text. It's okay if we don't "fix" this. It's more of a user customization issue.

Provide a minimal init.vim/vimrc without plugin managers (Required!)

Irrelevant

How to reproduce the problem from neovim/Vim startup (Required!)

When installing using the installation script using

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh)"

Equivalently, executing

echo -e "\x1b[30m test"

in the terminal would give the same invisible result.

Screen shot (if possible)

image

Upload the log messages by :redir and :message (if errored)

I've changed it to magenta to follow the color of the selection numbers, I'll be opening a PR soon.

Preview

image