diff src/term.c @ 13489:24e8f9044bed v8.0.1618

patch 8.0.1618: color Grey50 is missing in the compiled-in table commit https://github.com/vim/vim/commit/ecadf4377f120200252e023ef6a9aa369e98850a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 20 11:17:04 2018 +0100 patch 8.0.1618: color Grey50 is missing in the compiled-in table Problem: Color Grey50, used for ToolbarLine, is missing in the compiled-in table. Solution: Add the color to the list. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Tue, 20 Mar 2018 11:30:06 +0100
parents 4e30f3f4cb78
children 23e5f12f43d7
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -3642,7 +3642,7 @@ swapping_screen(void)
     return (full_screen && *T_TI != NUL);
 }
 
-#ifdef FEAT_MOUSE
+#if defined(FEAT_MOUSE) || defined(PROTO)
 /*
  * setmouse() - switch mouse on/off depending on current mode and 'mouse'
  */
@@ -6805,6 +6805,7 @@ gui_get_color_cmn(char_u *name)
 	    {(char_u *)"green",		RGB(0x00, 0xFF, 0x00)},
 	    {(char_u *)"grey",		RGB(0xBE, 0xBE, 0xBE)},
 	    {(char_u *)"grey40",	RGB(0x66, 0x66, 0x66)},
+	    {(char_u *)"grey50",	RGB(0x7F, 0x7F, 0x7F)},
 	    {(char_u *)"grey90",	RGB(0xE5, 0xE5, 0xE5)},
 	    {(char_u *)"lightblue",	RGB(0xAD, 0xD8, 0xE6)},
 	    {(char_u *)"lightcyan",	RGB(0xE0, 0xFF, 0xFF)},