diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-23 16:45:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-23 16:45:10 +0200 |
commit | 26af85d97ba1ed0ade6cdd41890ca04ed879b9c7 (patch) | |
tree | c34204de31a63785f2801279402fee3fc84ee9b2 /src/gui_photon.c | |
parent | eeac67788677a9ea81bcab69f81b4fc22c2adc00 (diff) |
patch 8.0.0755: terminal window does not have colors in the GUIv8.0.0755
Problem: Terminal window does not have colors in the GUI.
Solution: Lookup the GUI color.
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r-- | src/gui_photon.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c index 593be56fbe..faed61d7b2 100644 --- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -1986,6 +1986,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); +} + void gui_mch_set_fg_color(guicolor_T color) { |