diff options
author | 2020-10-05 09:53:01 +0000 | |
---|---|---|
committer | 2020-10-05 09:53:01 +0000 | |
commit | e9a14db2d1c01199fab6d558dd73606b30065f78 (patch) | |
tree | 240b997a771f717d11991b926a45c5c2c0ec5498 /usr.bin/tmux/tty-features.c | |
parent | Remove redundant code and lets code looks similar (diff) | |
download | wireguard-openbsd-e9a14db2d1c01199fab6d558dd73606b30065f78.tar.xz wireguard-openbsd-e9a14db2d1c01199fab6d558dd73606b30065f78.zip |
Use the setal capability as well as (tmux's) Setulc.
Diffstat (limited to 'usr.bin/tmux/tty-features.c')
-rw-r--r-- | usr.bin/tmux/tty-features.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty-features.c b/usr.bin/tmux/tty-features.c index fb69aad9b93..8e1a0d25b9e 100644 --- a/usr.bin/tmux/tty-features.c +++ b/usr.bin/tmux/tty-features.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-features.c,v 1.17 2020/07/18 02:53:47 daniel Exp $ */ +/* $OpenBSD: tty-features.c,v 1.18 2020/10/05 09:53:01 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -112,6 +112,7 @@ static const struct tty_feature tty_feature_overline = { static const char *tty_feature_usstyle_capabilities[] = { "Smulx=\\E[4::%p1%dm", "Setulc=\\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m", + "ol=\\E[59m", NULL }; static const struct tty_feature tty_feature_usstyle = { @@ -336,7 +337,7 @@ tty_default_features(int *feat, const char *name, u_int version) "256,RGB,bpaste,clipboard,strikethrough,title" { .name = "mintty", .features = TTY_FEATURES_BASE_MODERN_XTERM - ",ccolour,cstyle,extkeys,margins,overline" + ",ccolour,cstyle,extkeys,margins,overline,usstyle" }, { .name = "tmux", .features = TTY_FEATURES_BASE_MODERN_XTERM |