From ad8509f361fc6b68bfc6220aa79ab36e03460705 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 6 Jan 2010 23:13:52 +0000 Subject: [PATCH] Correctly clear 256-colour flag for aixterm colours. --- input.c | 2 ++ 1 file changed, 2 insertions(+) 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; }