mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Add comment about statusbar.current
This commit is contained in:
parent
d9fb5a896a
commit
d1f388cbd7
@ -338,10 +338,13 @@ _status_bar_draw_extended_tabs(int pos)
|
||||
|
||||
int status_attrs;
|
||||
if (is_current) {
|
||||
// currently selected
|
||||
status_attrs = theme_attrs(THEME_STATUS_CURRENT);
|
||||
} else if (_extended_new()) {
|
||||
// new one
|
||||
status_attrs = theme_attrs(THEME_STATUS_NEW);
|
||||
} else {
|
||||
// all other
|
||||
status_attrs = theme_attrs(THEME_STATUS_ACTIVE);
|
||||
}
|
||||
wattron(statusbar_win, status_attrs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user