mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
I don't like this...
This commit is contained in:
parent
0ba0fd389c
commit
2aeb08a54b
9
tty.c
9
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>
|
* 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);
|
bg = colour_translate256(bg);
|
||||||
if (bg & 8) {
|
if (bg & 8) {
|
||||||
/*
|
/*
|
||||||
* Bold background; not sure how widely this is
|
* Bold background; can't do this on standard
|
||||||
* supported...
|
* terminals...
|
||||||
*/
|
*/
|
||||||
|
#if 0
|
||||||
xsnprintf(s, sizeof s, "\033[%hhum", 92 + bg);
|
xsnprintf(s, sizeof s, "\033[%hhum", 92 + bg);
|
||||||
tty_puts(tty, s);
|
tty_puts(tty, s);
|
||||||
return;
|
return;
|
||||||
|
#endif
|
||||||
|
bg &= 7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user