From 26af85d97ba1ed0ade6cdd41890ca04ed879b9c7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 23 Jul 2017 16:45:10 +0200 Subject: patch 8.0.0755: terminal window does not have colors in the GUI Problem: Terminal window does not have colors in the GUI. Solution: Lookup the GUI color. --- src/gui_w32.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui_w32.c') diff --git a/src/gui_w32.c b/src/gui_w32.c index 611902557e..a91e0710be 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1597,6 +1597,12 @@ gui_mch_get_color(char_u *name) return gui_get_color_cmn(name); } + guicolor_T +gui_mch_get_rgb_color(int r, int g, int b) +{ + return gui_get_rgb_color_cmn(r, g, b); +} + /* * Return OK if the key with the termcap name "name" is supported. */ -- cgit v1.2.3