summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-02-19 07:55:12 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-02-19 07:55:12 +0000
commitcb144e83cefaa9e280393f5e5c9ec59b77227b51 (patch)
treeef5c8a390fb63f54d8b61733cc765a6f54aaf410
parent897642a3d15f4cb813c1213a9cd95dcd58c2cda5 (diff)
Add SGR 28 to clear hidden flag.
-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: