multigrid: reset win scrolling after swap message

This commit is contained in:
Björn Linse
2019-01-31 13:13:34 +01:00
parent bfe2435459
commit 0f96a21e3f
4 changed files with 22 additions and 12 deletions

View File

@@ -3412,7 +3412,9 @@ static char *findswapname(buf_T *buf, char **dirp, char *old_fname,
# endif
xfree(name);
/* pretend screen didn't scroll, need redraw anyway */
// pretend screen didn't scroll, need redraw anyway
// TODO(bfredl): when doing the message grid refactor,
// simplify this special case.
msg_scrolled = 0;
redraw_all_later(NOT_VALID);
}