summaryrefslogtreecommitdiff
path: root/src/term.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-31 16:42:30 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-31 16:42:30 +0200
commite023e88bed3f2e0a7ea4cf10cac2de80bc9c271c (patch)
treef08d1259998303ef883ab394c2fe60196aeaf714 /src/term.h
parentb10090928cb5283f867e8457b7eea0985470d8d4 (diff)
downloadvim-git-e023e88bed3f2e0a7ea4cf10cac2de80bc9c271c.tar.gz
patch 8.2.0863: cannot set a separate color for underline/undercurlv8.2.0863
Problem: Cannot set a separate color for underline/undercurl. Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
Diffstat (limited to 'src/term.h')
-rw-r--r--src/term.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/term.h b/src/term.h
index dca48d1ad..bff901e3c 100644
--- a/src/term.h
+++ b/src/term.h
@@ -78,6 +78,7 @@ enum SpecialKey
KS_MB, // blink mode
KS_CAF, // set foreground color (ANSI)
KS_CAB, // set background color (ANSI)
+ KS_CAU, // set underline color (ANSI)
KS_LE, // cursor left (mostly backspace)
KS_ND, // cursor right
KS_CIS, // set icon text start
@@ -100,6 +101,7 @@ enum SpecialKey
KS_U7, // request cursor position
KS_8F, // set foreground color (RGB)
KS_8B, // set background color (RGB)
+ KS_8U, // set underline color (RGB)
KS_CBE, // enable bracketed paste mode
KS_CBD, // disable bracketed paste mode
KS_CPS, // start of bracketed paste
@@ -179,6 +181,7 @@ extern char_u *(term_strings[]); // current terminal strings
#define T_MB (TERM_STR(KS_MB)) // blink mode
#define T_CAF (TERM_STR(KS_CAF)) // set foreground color (ANSI)
#define T_CAB (TERM_STR(KS_CAB)) // set background color (ANSI)
+#define T_CAU (TERM_STR(KS_CAU)) // set underline color (ANSI)
#define T_LE (TERM_STR(KS_LE)) // cursor left
#define T_ND (TERM_STR(KS_ND)) // cursor right
#define T_CIS (TERM_STR(KS_CIS)) // set icon text start
@@ -200,6 +203,7 @@ extern char_u *(term_strings[]); // current terminal strings
#define T_U7 (TERM_STR(KS_U7)) // request cursor position
#define T_8F (TERM_STR(KS_8F)) // set foreground color (RGB)
#define T_8B (TERM_STR(KS_8B)) // set background color (RGB)
+#define T_8U (TERM_STR(KS_8U)) // set underline color (RGB)
#define T_BE (TERM_STR(KS_CBE)) // enable bracketed paste mode
#define T_BD (TERM_STR(KS_CBD)) // disable bracketed paste mode
#define T_PS (TERM_STR(KS_CPS)) // start of bracketed paste