about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-17 00:22:55 +0100
committerJames Booth <boothj5@gmail.com>2014-09-17 00:22:55 +0100
commit1847f871907f263f13d28ce0d41f1e612b3c7f48 (patch)
treec629cecdfee6b95d29b5c85b4cc4ac9afa6bdfd6 /src/ui
parent99dfbcbc4ea3fec8d5a9866cd80285c12ecdc29c (diff)
downloadprofani-tty-1847f871907f263f13d28ce0d41f1e612b3c7f48.tar.gz
Fixed window switching when paged
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 4a7bb365..83e5c1a2 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -118,9 +118,10 @@ _ui_update(void)
     ProfWin *current = wins_get_current();
     if (current->paged == 0) {
         win_move_to_end(current);
-        win_update_virtual(current);
     }
 
+    win_update_virtual(current);
+
     if (prefs_get_boolean(PREF_TITLEBAR)) {
         _ui_draw_term_title();
     }