summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 2d6008146d..cdfc929e9f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -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.
*/