diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-01 15:47:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-01 15:47:38 +0200 |
commit | c5cd88554f1e0b2e9ff08d9a0748238dd8340ce1 (patch) | |
tree | 68ebe38b30631520ddd3f0b93dc870624c66f0ae /src/misc1.c | |
parent | d76ce852668635d81778cedacc2d3f021ed4e475 (diff) | |
download | vim-git-c5cd88554f1e0b2e9ff08d9a0748238dd8340ce1.tar.gz |
patch 8.0.1783: cannot use 256 colors in a MS-Windows consolev8.0.1783
Problem: Cannot use 256 colors in a MS-Windows console.
Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index de79c8e81..6c77f4b0d 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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 ) { |