mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
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 c84b1b5e5d
.
This commit is contained in:
parent
e5f506a200
commit
5ebd7df7e8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user