diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-03-05 12:32:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-03-05 12:32:29 +0000 |
commit | cffdbcf23ea7e41b630bd0d9b7689dbccedeb550 (patch) | |
tree | 33b2416e376143352157c314b6853b2728ef599a | |
parent | 5b731f3a722c9b6d23d2fb4756173083cf8ca403 (diff) |
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-- | usr.bin/tmux/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 9b3d9c239ad..2f9ef77e15b 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.131 2018/02/19 21:20:10 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.132 2018/03/05 12:32:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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: |