summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-12-16 01:13:09 +0000
committerTiago Cunha <tcunha@gmx.com>2009-12-16 01:13:09 +0000
commit99075aaa72210e7e331d18486a045e9a82756d33 (patch)
tree7aae1a8fc275928961300e9e411db03b973682dc /input.c
parentde15f2b5673b2499ef576aa9a361a6fb42b18f9e (diff)
Sync OpenBSD patchset 589:
Pass through the aixterm bright colours if the terminal supports them (>= 16 colours).
Diffstat (limited to 'input.c')
-rw-r--r--input.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/input.c b/input.c
index 71e0ba34..a918bb74 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.104 2009-12-04 22:14:47 tcunha Exp $ */
+/* $Id: input.c,v 1.105 2009-12-16 01:13:09 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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;
}
}