diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-02 18:33:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-02 18:33:56 +0200 |
commit | cf4b00c856ef714482d8d060332ac9a4d74e6b88 (patch) | |
tree | a17efb73ba6cffbdc8c17adbec2152ac41c35803 /src/term.h | |
parent | da22b8cc8b1b96fabd5a4c35c57b04a351340fb1 (diff) | |
download | vim-git-cf4b00c856ef714482d8d060332ac9a4d74e6b88.tar.gz |
patch 8.0.1038: strike-through text not supportedv8.0.1038
Problem: Strike-through text not supported.
Solution: Add support for the "strikethrough" attribute. (Christian
Brabandt, Ken Takata)
Diffstat (limited to 'src/term.h')
-rw-r--r-- | src/term.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/term.h b/src/term.h index 0fedfeaa8..b95b4f6de 100644 --- a/src/term.h +++ b/src/term.h @@ -55,6 +55,8 @@ enum SpecialKey KS_US, /* underscore (underline) mode */ KS_UCE, /* exit undercurl mode */ KS_UCS, /* undercurl mode */ + KS_STE, /* exit strikethrough mode */ + KS_STS, /* strikethrough mode */ KS_MS, /* save to move cur in reverse mode */ KS_CM, /* cursor motion */ KS_SR, /* scroll reverse (backward) */ @@ -149,6 +151,8 @@ extern char_u *(term_strings[]); /* current terminal strings */ #define T_US (TERM_STR(KS_US)) /* underscore (underline) mode */ #define T_UCE (TERM_STR(KS_UCE)) /* exit undercurl mode */ #define T_UCS (TERM_STR(KS_UCS)) /* undercurl mode */ +#define T_STE (TERM_STR(KS_STE)) /* exit strikethrough mode */ +#define T_STS (TERM_STR(KS_STS)) /* strikethrough mode */ #define T_MS (TERM_STR(KS_MS)) /* save to move cur in reverse mode */ #define T_CM (TERM_STR(KS_CM)) /* cursor motion */ #define T_SR (TERM_STR(KS_SR)) /* scroll reverse (backward) */ |