1
0
forked from aniani/vim

patch 8.0.1174: Mac Terminal.app has wrong color for white

Problem:    Mac Terminal.app has wrong color for white.
Solution:   Use white from the color cube.
This commit is contained in:
Bram Moolenaar
2017-10-04 18:04:16 +02:00
parent 19a3d68b2c
commit a0a6f2776e
4 changed files with 12 additions and 0 deletions

View File

@@ -4557,7 +4557,10 @@ check_termcode(
/* Mac Terminal.app sends 1;95;0 */
if (version == 95
&& STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
{
is_not_xterm = TRUE;
is_mac_terminal = TRUE;
}
/* Gnome terminal sends 1;3801;0, 1;4402;0 or 1;2501;0.
* xfce4-terminal sends 1;2802;0.