Use plain bold for unread items
This commit is contained in:
parent
f634289f12
commit
70e83a214c
22
ui.c
22
ui.c
|
@ -270,15 +270,8 @@ static int UIDisplayFeed (struct feed* current_feed)
|
|||
move (ypos, 0);
|
||||
clrtoeol();
|
||||
|
||||
if (!item->data->readstatus) {
|
||||
// Apply color style.
|
||||
if (!_settings.monochrome) {
|
||||
attron (COLOR_PAIR (2));
|
||||
if (_settings.color.newitemsbold)
|
||||
attron (WA_BOLD);
|
||||
} else
|
||||
attron (WA_BOLD);
|
||||
}
|
||||
if (!item->data->readstatus)
|
||||
attron (WA_BOLD);
|
||||
|
||||
if (item == highlighted) {
|
||||
current_item = item;
|
||||
|
@ -312,15 +305,8 @@ static int UIDisplayFeed (struct feed* current_feed)
|
|||
++ypos;
|
||||
if (item == highlighted)
|
||||
attroff (WA_REVERSE);
|
||||
if (!item->data->readstatus) {
|
||||
// Disable color style.
|
||||
if (!_settings.monochrome) {
|
||||
attroff (COLOR_PAIR (2));
|
||||
if (_settings.color.newitemsbold)
|
||||
attroff (WA_BOLD);
|
||||
} else
|
||||
attroff (WA_BOLD);
|
||||
}
|
||||
if (!item->data->readstatus)
|
||||
attroff (WA_BOLD);
|
||||
|
||||
if (itemnum >= ymax)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue