aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2018-03-05 12:32:28 +0000
committernicm <nicm>2018-03-05 12:32:28 +0000
commit85c48aafffd4e520eea2e598ea199e7b16f787cc (patch)
tree0ba0ed54c79ca51ffeaa43ef16c141347376d1f3
parent182357f24bc7e16d7d7c85cab0c61974f18df2e7 (diff)
downloadrtmux-85c48aafffd4e520eea2e598ea199e7b16f787cc.tar.gz
rtmux-85c48aafffd4e520eea2e598ea199e7b16f787cc.tar.bz2
rtmux-85c48aafffd4e520eea2e598ea199e7b16f787cc.zip
For some reason tmux treats SGR 10 as SGR 0. It has done since the first
version and I'm not sure why since no other terminal appears to. Change to just ignore SGR 10 instead.
-rw-r--r--input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/input.c b/input.c
index 3a651653..b53c39f6 100644
--- a/input.c
+++ b/input.c
@@ -1907,7 +1907,6 @@ input_csi_dispatch_sgr(struct input_ctx *ictx)
switch (n) {
case 0:
- case 10:
memcpy(gc, &grid_default_cell, sizeof *gc);
break;
case 1: