[ansi] Couple extras I missed

This commit is contained in:
Kevin Lange 2011-04-15 22:09:33 -05:00
parent f2a6dc1bf6
commit 20a2a8ae60
2 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -150,9 +150,11 @@ ansi_put(
} else if (arg >= 90 && arg < 100) {
/* Bright foreground */
state.fg = 8 + (arg - 90);
} else if (arg >= 40 && arg < 50) {
} else if (arg >= 40 && arg < 49) {
/* Set background */
state.bg = arg - 40;
} else if (arg == 49) {
state.bg = 0;
} else if (arg >= 30 && arg < 39) {
/* Set Foreground */
state.fg = arg - 30;