diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-04-21 12:01:35 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-04-21 12:01:35 +0100 |
commit | 2cbca7ce16f5831f1693bfc261115842766c4fb2 (patch) | |
tree | ae284a882f5ec68a49e1eceb1696dd134024881b /tty-features.c | |
parent | 985bc0ee4a4473af4472e518dbccfab5d3f41a4e (diff) | |
parent | bd91015b1398bd986644657618aef38794c5dc1f (diff) | |
download | rtmux-2cbca7ce16f5831f1693bfc261115842766c4fb2.tar.gz rtmux-2cbca7ce16f5831f1693bfc261115842766c4fb2.tar.bz2 rtmux-2cbca7ce16f5831f1693bfc261115842766c4fb2.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty-features.c')
-rw-r--r-- | tty-features.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tty-features.c b/tty-features.c index 3b12b068..ae0869e1 100644 --- a/tty-features.c +++ b/tty-features.c @@ -74,6 +74,7 @@ static struct tty_feature tty_feature_clipboard = { * 256 palette. */ static const char *tty_feature_rgb_capabilities[] = { + "AX", "setrgbf=\\E[38;2;%p1%d;%p2%d;%p3%dm", "setrgbb=\\E[48;2;%p1%d;%p2%d;%p3%dm", "setab=\\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", @@ -88,6 +89,7 @@ static struct tty_feature tty_feature_rgb = { /* Terminal supports 256 colours. */ static const char *tty_feature_256_capabilities[] = { + "AX", "setab=\\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", "setaf=\\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", NULL |