From d1f388cbd7dd8f6e104938a1112aa28973897a31 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sun, 29 Sep 2019 15:47:11 +0200 Subject: Add comment about statusbar.current --- src/ui/statusbar.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index 03ab718d..420d3021 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -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); -- cgit 1.4.1-2-gfad0