mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Do not assume that bit 0x80 enables blink, rather call set_blink when
blink is requested. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4686 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fab544bdbe
commit
3e5ad97676
1 changed files with 3 additions and 3 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue