Add comment about statusbar.current
This commit is contained in:
@@ -338,10 +338,13 @@ _status_bar_draw_extended_tabs(int pos)
|
|||||||
|
|
||||||
int status_attrs;
|
int status_attrs;
|
||||||
if (is_current) {
|
if (is_current) {
|
||||||
|
// currently selected
|
||||||
status_attrs = theme_attrs(THEME_STATUS_CURRENT);
|
status_attrs = theme_attrs(THEME_STATUS_CURRENT);
|
||||||
} else if (_extended_new()) {
|
} else if (_extended_new()) {
|
||||||
|
// new one
|
||||||
status_attrs = theme_attrs(THEME_STATUS_NEW);
|
status_attrs = theme_attrs(THEME_STATUS_NEW);
|
||||||
} else {
|
} else {
|
||||||
|
// all other
|
||||||
status_attrs = theme_attrs(THEME_STATUS_ACTIVE);
|
status_attrs = theme_attrs(THEME_STATUS_ACTIVE);
|
||||||
}
|
}
|
||||||
wattron(statusbar_win, status_attrs);
|
wattron(statusbar_win, status_attrs);
|
||||||
|
|||||||
Reference in New Issue
Block a user