summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-02-19 07:55:11 +0000
committernicm <nicm@openbsd.org>2017-02-19 07:55:11 +0000
commita67d9d1276c5e357af1e83df755164e565cd06ed (patch)
tree1468bdce00e7737d60c99ccada285eb0dea2677e /usr.bin/tmux/input.c
parentMore whitespace, helps reading (diff)
downloadwireguard-openbsd-a67d9d1276c5e357af1e83df755164e565cd06ed.tar.xz
wireguard-openbsd-a67d9d1276c5e357af1e83df755164e565cd06ed.zip
Add SGR 28 to clear hidden flag.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index e8a1cb6df82..6d5b40fbeb4 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.116 2017/02/16 12:56:01 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.117 2017/02/19 07:55:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1779,6 +1779,9 @@ input_csi_dispatch_sgr(struct input_ctx *ictx)
case 27:
gc->attr &= ~GRID_ATTR_REVERSE;
break;
+ case 28:
+ gc->attr &= ~GRID_ATTR_HIDDEN;
+ break;
case 30:
case 31:
case 32: