0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.0554: the GUI doesn't set t_Co

Problem:    The GUI doesn't set t_Co.
Solution:   In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
This commit is contained in:
Bram Moolenaar
2020-04-12 15:11:06 +02:00
parent cd630becc8
commit acc770a10f
5 changed files with 9 additions and 1 deletions

View File

@@ -513,6 +513,9 @@ gui_init(void)
*/
set_option_value((char_u *)"paste", 0L, NULL, 0);
// Set t_Co to the number of colors: RGB.
set_color_count(256 * 256 * 256);
/*
* Set up system-wide default menus.
*/