Mercurial > vim
comparison src/highlight.c @ 19756:fe90a71a3fed v8.2.0434
patch 8.2.0434: MS-Windows with VTP: Normal color not working
Commit: https://github.com/vim/vim/commit/a8bd3496380ceb32e544dfe39cb4d52e4943068c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 21:45:29 2020 +0100
patch 8.2.0434: MS-Windows with VTP: Normal color not working
Problem: MS-Windows with VTP: Normal color not working.
Solution: After changing the Normal color update the VTP console color.
(Nobuhiro Takasaki, closes #5836)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 22:00:05 +0100 |
parents | ce8c47ed54e5 |
children | 5feb426d2ea1 |
comparison
equal
deleted
inserted
replaced
19755:9dcca0620b7a | 19756:fe90a71a3fed |
---|---|
1483 highlight_gui_started(); | 1483 highlight_gui_started(); |
1484 did_highlight_changed = TRUE; | 1484 did_highlight_changed = TRUE; |
1485 redraw_all_later(NOT_VALID); | 1485 redraw_all_later(NOT_VALID); |
1486 } | 1486 } |
1487 #endif | 1487 #endif |
1488 #ifdef FEAT_VTP | |
1489 control_console_color_rgb(); | |
1490 #endif | |
1488 } | 1491 } |
1489 #ifdef FEAT_TERMINAL | 1492 #ifdef FEAT_TERMINAL |
1490 else if (is_terminal_group) | 1493 else if (is_terminal_group) |
1491 set_terminal_default_colors( | 1494 set_terminal_default_colors( |
1492 HL_TABLE()[idx].sg_cterm_fg, HL_TABLE()[idx].sg_cterm_bg); | 1495 HL_TABLE()[idx].sg_cterm_fg, HL_TABLE()[idx].sg_cterm_bg); |