diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 1a7dc6bd..bbc9b9d0 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -562,7 +562,10 @@ win_sub_page_up(ProfWin *window) void win_clear(ProfWin *window) { - werase(window->layout->win); + int y = getcury(window->layout->win); + int *page_start = &(window->layout->y_pos); + *page_start = y; + window->layout->paged = 1; win_update_virtual(window); } |