mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
a6f4afab2d
commit
600e0da443
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user