diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-03-03 08:53:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-03-03 08:53:14 +0000 |
commit | c36f67a2889ae0f5792ea88e8206d5d7db8c4839 (patch) | |
tree | ee104e470427d5857a23e1457afeccaee7ac2787 /input.c | |
parent | 7954126dcd6ec52020fde92c8be997482fa55ab6 (diff) | |
download | rtmux-c36f67a2889ae0f5792ea88e8206d5d7db8c4839.tar.gz rtmux-c36f67a2889ae0f5792ea88e8206d5d7db8c4839.tar.bz2 rtmux-c36f67a2889ae0f5792ea88e8206d5d7db8c4839.zip |
Fix a typo that meant we did not reset the background colour when it was
omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1277,7 +1277,7 @@ input_csi_dispatch_sgr(struct input_ctx *ictx) gc->fg = 8; } else if (n == 48) { gc->flags &= ~GRID_FLAG_BG256; - gc->fg = 8; + gc->bg = 8; } } else { |