about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/windows.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/windows.c b/src/ui/windows.c
index 87b61ab1..88c811e5 100644
--- a/src/ui/windows.c
+++ b/src/ui/windows.c
@@ -207,9 +207,7 @@ void
 wins_refresh_current(void)
 {
     ProfWin *window = wins_get_current();
-    int rows, cols;
-    getmaxyx(stdscr, rows, cols);
-    prefresh(window->win, window->y_pos, 0, 1, 0, rows-3, cols-1);
+    win_refresh(window);
 }
 
 void