summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-12-14 21:33:38 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-12-14 21:33:38 +0000
commit0dda866679009385d4973d18a123943f606c49ad (patch)
treeb36f136aafdf6be666cb7b6a14bb7ec5b599aa59 /input.c
parent84d2e6c8a0f7c501c3d326eb2bcbbbd8caa1658b (diff)
Pass through the aixterm bright colours if the terminal supports them (>= 16
colours).
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/input.c b/input.c
index 29d0f254..294cd522 100644
--- a/input.c
+++ b/input.c
@@ -1481,8 +1481,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
case 95:
case 96:
case 97:
- gc->flags |= GRID_FLAG_FG256;
- gc->fg = m - 82;
+ gc->fg = m;
break;
case 100:
case 101:
@@ -1492,8 +1491,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
case 105:
case 106:
case 107:
- gc->flags |= GRID_FLAG_BG256;
- gc->bg = m - 92;
+ gc->bg = m;
break;
}
}