diff options
| author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-10-08 13:21:37 +0100 |
|---|---|---|
| committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-10-08 13:21:37 +0100 |
| commit | 4b9e76aaaa2dffc01a796fe2ee6edafdfce814a9 (patch) | |
| tree | 5e18c336cb634abab745aa7d959f14ab5af16430 /tmux.h | |
| parent | 46847e9b2e048204690e544b8e6ab328b2a33233 (diff) | |
| download | rtmux-4b9e76aaaa2dffc01a796fe2ee6edafdfce814a9.tar.gz rtmux-4b9e76aaaa2dffc01a796fe2ee6edafdfce814a9.tar.bz2 rtmux-4b9e76aaaa2dffc01a796fe2ee6edafdfce814a9.zip | |
Support for extended underline styles, enabled by adding the Smulx
capability with terminal-overrides (add something like
'vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
Diffstat (limited to 'tmux.h')
| -rw-r--r-- | tmux.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -429,6 +429,7 @@ enum tty_code_code { TTYC_SMCUP, TTYC_SMKX, TTYC_SMSO, + TTYC_SMULX, TTYC_SMUL, TTYC_SMXX, TTYC_SS, @@ -554,6 +555,18 @@ enum utf8_state { #define GRID_ATTR_ITALICS 0x40 #define GRID_ATTR_CHARSET 0x80 /* alternative character set */ #define GRID_ATTR_STRIKETHROUGH 0x100 +#define GRID_ATTR_UNDERSCORE_2 0x200 +#define GRID_ATTR_UNDERSCORE_3 0x400 +#define GRID_ATTR_UNDERSCORE_4 0x800 +#define GRID_ATTR_UNDERSCORE_5 0x1000 + +/* All underscore attributes. */ +#define GRID_ATTR_ALL_UNDERSCORE \ + (GRID_ATTR_UNDERSCORE| \ + GRID_ATTR_UNDERSCORE_2| \ + GRID_ATTR_UNDERSCORE_3| \ + GRID_ATTR_UNDERSCORE_4| \ + GRID_ATTR_UNDERSCORE_5) /* Grid flags. */ #define GRID_FLAG_FG256 0x1 |