Shougo / dein.vim

:zap: Dark powered Vim/Neovim plugin manager
MIT License
3.42k stars 197 forks source link

ANSI ESC[30m invisible in certain Terminal setups #475

Closed samyilin closed 1 year ago

samyilin commented 1 year ago

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!)

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)

ghost commented 1 year ago

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

Preview

image