diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-10-09 22:03:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-10-09 22:03:36 +0000 |
commit | 2aeb08a54bc59f7c1b0018ab08bc97d30408a353 (patch) | |
tree | 3b4a638e34c94a68104883f5c742215e95a9965b | |
parent | 0ba0fd389c211c35958a383cbaea138f6eebea91 (diff) | |
download | rtmux-2aeb08a54bc59f7c1b0018ab08bc97d30408a353.tar.gz rtmux-2aeb08a54bc59f7c1b0018ab08bc97d30408a353.tar.bz2 rtmux-2aeb08a54bc59f7c1b0018ab08bc97d30408a353.zip |
I don't like this...
-rw-r--r-- | tty.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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; } } |