summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-01-06 23:13:52 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-01-06 23:13:52 +0000
commitad8509f361fc6b68bfc6220aa79ab36e03460705 (patch)
tree7be0f082a88e4db384b7cab498eb4c553086de60 /input.c
parent739b937b74547038615996749143a69f0707b0c0 (diff)
Correctly clear 256-colour flag for aixterm colours.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input.c b/input.c
index 294cd522..cfa42406 100644
--- a/input.c
+++ b/input.c
@@ -1481,6 +1481,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
case 95:
case 96:
case 97:
+ gc->flags &= ~GRID_FLAG_FG256;
gc->fg = m;
break;
case 100:
@@ -1491,6 +1492,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
case 105:
case 106:
case 107:
+ gc->flags &= ~GRID_FLAG_BG256;
gc->bg = m;
break;
}