about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-09-29 15:47:11 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-09-29 15:47:11 +0200
commitd1f388cbd7dd8f6e104938a1112aa28973897a31 (patch)
tree1b4a1187cd690437d23dd54d2902f32773f154b1 /src
parentd9fb5a896a44002014a01cdc923d4478bd762dc9 (diff)
downloadprofani-tty-d1f388cbd7dd8f6e104938a1112aa28973897a31.tar.gz
Add comment about statusbar.current
Diffstat (limited to 'src')
-rw-r--r--src/ui/statusbar.c3
1 files changed, 3 insertions, 0 deletions
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);