summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/term-terminfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index e34d2ba4..7e0ea686 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -322,10 +322,10 @@ void term_set_color(TERM_WINDOW *window, int col)
}
/* set background color */
- if (col & ATTR_BLINK)
- col |= 0x80;
- else if (col & 0x80)
+ if (col & 0x80)
col |= ATTR_BLINK;
+ if (col & ATTR_BLINK)
+ current_term->set_blink(current_term);
if ((col & 0xf0) >> 4 != last_bg &&
((col & 0xf0) != 0 || (col & ATTR_RESETBG) == 0)) {