mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Sync OpenBSD patchset 864:
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.
This commit is contained in:
parent
d0cca3924e
commit
9bc44043a4
4
input.c
4
input.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: input.c,v 1.115 2011-02-15 15:21:14 tcunha Exp $ */
|
/* $Id: input.c,v 1.116 2011-03-19 23:28:30 tcunha Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -1277,7 +1277,7 @@ input_csi_dispatch_sgr(struct input_ctx *ictx)
|
|||||||
gc->fg = 8;
|
gc->fg = 8;
|
||||||
} else if (n == 48) {
|
} else if (n == 48) {
|
||||||
gc->flags &= ~GRID_FLAG_BG256;
|
gc->flags &= ~GRID_FLAG_BG256;
|
||||||
gc->fg = 8;
|
gc->bg = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user