summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/gui-printtext.c2
-rw-r--r--src/fe-text/term.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c
index 5aa8dddc..b4862a8e 100644
--- a/src/fe-text/gui-printtext.c
+++ b/src/fe-text/gui-printtext.c
@@ -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)
diff --git a/src/fe-text/term.c b/src/fe-text/term.c
index cc49103f..a50fc8a3 100644
--- a/src/fe-text/term.c
+++ b/src/fe-text/term.c
@@ -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;