diff options
author | 2019-05-13 20:10:23 +0000 | |
---|---|---|
committer | 2019-05-13 20:10:23 +0000 | |
commit | d37269ef36fa6f867093ec825e7013d703d7e218 (patch) | |
tree | fe5b00ca4e52ecd24a8c376479f4eb0a9e1e9936 /usr.bin/tmux/input.c | |
parent | Always include Lock in the menu. (diff) | |
download | wireguard-openbsd-d37269ef36fa6f867093ec825e7013d703d7e218.tar.xz wireguard-openbsd-d37269ef36fa6f867093ec825e7013d703d7e218.zip |
Add support for overline (SGR 53), from Ricardo Banffy.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index b831734b01e..0b98386f04c 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.152 2019/05/07 10:25:15 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.153 2019/05/13 20:10:23 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -2070,6 +2070,12 @@ input_csi_dispatch_sgr(struct input_ctx *ictx) case 49: gc->bg = 8; break; + case 53: + gc->attr |= GRID_ATTR_OVERLINE; + break; + case 55: + gc->attr &= ~GRID_ATTR_OVERLINE; + break; case 90: case 91: case 92: |