about summary refs log tree commit diff stats
path: root/src/ui/statusbar.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-28 22:07:40 +0100
committerJames Booth <boothj5@gmail.com>2013-08-28 22:07:40 +0100
commit30a4054937a56d8efcfccb3ba095d16c7c4d8800 (patch)
treefe968261c7deb9157216739ebe7bb5c33f73aa8a /src/ui/statusbar.c
parent88d4cf6e94980d6e44a0a55c84b3d2b7296b6f9a (diff)
downloadprofani-tty-30a4054937a56d8efcfccb3ba095d16c7c4d8800.tar.gz
Fixed showing active console after login fail
Diffstat (limited to 'src/ui/statusbar.c')
-rw-r--r--src/ui/statusbar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c
index 90430e8d..46824fbe 100644
--- a/src/ui/statusbar.c
+++ b/src/ui/statusbar.c
@@ -87,6 +87,13 @@ status_bar_refresh(void)
 
     if (dirty) {
         _status_bar_update_time();
+        int i;
+        for(i = 1; i < 12; i++) {
+            if (is_new[i])
+                status_bar_new(i);
+            else if (is_active[i])
+                status_bar_active(i);
+        }
         wrefresh(status_bar);
         inp_put_back();
         dirty = FALSE;