1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

/SET mirc_blink_fix - if ON, the bright/blink bit is stripped from MIRC

colors. Set this to ON, if your terminal shows bright background colors
as blinking. Patch by pv2b


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2539 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-08 21:04:59 +00:00 committed by cras
parent a6f4afab2d
commit 600e0da443
2 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,8 @@ static void get_colors(int flags, int *fg, int *bg, int *attr)
colors wrap to 0, 1, ... */
if (*bg >= 0) *bg = mirc_colors[*bg % 16];
if (*fg >= 0) *fg = mirc_colors[*fg % 16];
if (settings_get_bool("mirc_blink_fix"))
*bg &= ~0x08;
}
if (*fg < 0 || *fg > 15)

View File

@ -138,6 +138,7 @@ void term_common_init(void)
settings_add_bool("lookandfeel", "colors", TRUE);
settings_add_bool("lookandfeel", "term_force_colors", FALSE);
settings_add_bool("lookandfeel", "term_auto_detach", FALSE);
settings_add_bool("lookandfeel", "mirc_blink_fix", FALSE);
settings_add_str("lookandfeel", "term_type", "8bit");
force_colors = FALSE;