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:
Nicholas Marriott 2011-03-03 08:53:14 +00:00
parent 7954126dcd
commit c36f67a288

View File

@ -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 {