1
0
forked from aniani/vim

patch 8.0.1783: cannot use 256 colors in a MS-Windows console

Problem:    Cannot use 256 colors in a MS-Windows console.
Solution:   Add 256 color support. (Nobuhiro Takasaki, closes #2821)
This commit is contained in:
Bram Moolenaar
2018-05-01 15:47:38 +02:00
parent d76ce85266
commit c5cd88554f
8 changed files with 238 additions and 112 deletions

View File

@@ -3723,7 +3723,7 @@ vim_beep(
/* No restore color information, refresh the screen. */
if (has_vtp_working() != 0
# ifdef FEAT_TERMGUICOLORS
&& p_tgc
&& (p_tgc || (!p_tgc && t_colors >= 256))
# endif
)
{