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.
pull/1/head
Nicholas Marriott 2011-03-03 08:53:14 +00:00
parent 7954126dcd
commit c36f67a288
1 changed files with 1 additions and 1 deletions

View File

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