aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tty.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tty.c b/tty.c
index 6477cbde..6816b46f 100644
--- a/tty.c
+++ b/tty.c
@@ -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;
}
}