Fix scroll/paging state and buffer handling #45
@@ -750,8 +750,9 @@ win_page_down(ProfWin* window, int scroll_size)
|
|||||||
win_update_virtual(window);
|
win_update_virtual(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*switch off page if no messages left to read
|
/* Switch off page if no messages left to read.
|
||||||
|
jabber.developer marked this conversation as resolved
Outdated
|
|||||||
TODO: update buffer end handling to check meassages just after last entry*/
|
* TODO: update buffer end handling to check messages just after last entry.
|
||||||
|
*/
|
||||||
if (*scroll_state == WIN_SCROLL_REACHED_BOTTOM) {
|
if (*scroll_state == WIN_SCROLL_REACHED_BOTTOM) {
|
||||||
window->layout->paged = 0;
|
window->layout->paged = 0;
|
||||||
window->layout->unread_msg = 0;
|
window->layout->unread_msg = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user
Could you apply our standard formatting (should apply automatically on
ctrl+shift+iin VSCode)? It will fix the CI