1
1
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:
Michael Vetter 2019-09-29 15:47:11 +02:00
parent d9fb5a896a
commit d1f388cbd7

View File

@ -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);