From 5ebd7df7e8ae600820358d2edd7196475826fb46 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 21 Oct 2022 16:52:07 +0200 Subject: Let users scroll up again We removed this so that we don't get "[SCROLLED]" in the titlebar when there is actually not more text available. But now with MAM we can enable this again so that the user can scroll up and load more text out of the database. Maybe this also could use a check. This reverts commit c84b1b5e5d038684a6a475a251b738c3c5ffb9a5. --- src/ui/window.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/ui/window.c b/src/ui/window.c index 269affbd..36a5b70b 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -632,10 +632,6 @@ win_page_up(ProfWin* window) int page_space = rows - 4; int* page_start = &(window->layout->y_pos); - // dont need to scroll - if (*page_start == 0) - return; - *page_start -= page_space; if (*page_start == -page_space && window->type == WIN_CHAT) { -- cgit 1.4.1-2-gfad0