1
0
forked from aniani/vim

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

@@ -1552,7 +1552,7 @@ parse_builtin_tcap(char_u *term)
* Store it as a number in t_colors.
* Store it as a string in T_CCO (using nr_colors[]).
*/
static void
void
set_color_count(int nr)
{
char_u nr_colors[20]; // string for number of colors