I don't like this...

pull/1/head
Nicholas Marriott 2008-10-09 22:03:36 +00:00
parent 0ba0fd389c
commit 2aeb08a54b
1 changed files with 6 additions and 3 deletions

9
tty.c
View File

@ -1,4 +1,4 @@
/* $Id: tty.c,v 1.46 2008-10-09 22:00:33 nicm Exp $ */
/* $Id: tty.c,v 1.47 2008-10-09 22:03:36 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1016,12 +1016,15 @@ tty_attributes_bg(struct tty *tty, const struct grid_cell *gc)
bg = colour_translate256(bg);
if (bg & 8) {
/*
* Bold background; not sure how widely this is
* supported...
* Bold background; can't do this on standard
* terminals...
*/
#if 0
xsnprintf(s, sizeof s, "\033[%hhum", 92 + bg);
tty_puts(tty, s);
return;
#endif
bg &= 7;
}
}