multigrid: add msg_scroll_start and msg_scroll_reset events

This commit is contained in:
Björn Linse
2018-10-19 10:42:34 +02:00
parent c3e2e40e02
commit f6f8f0ee76
4 changed files with 15 additions and 0 deletions

View File

@@ -1884,6 +1884,9 @@ int msg_scrollsize(void)
*/
static void msg_scroll_up(void)
{
if (msg_scrolled == 0) {
ui_call_win_scroll_over_start();
}
if (dy_flags & DY_MSGSEP) {
if (msg_scrolled == 0) {
grid_fill(&default_grid, Rows-p_ch-1, Rows-p_ch, 0, (int)Columns,