patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295)
diff --git a/src/time.c b/src/time.c
index ab12691..362fd46 100644
--- a/src/time.c
+++ b/src/time.c
@@ -595,7 +595,7 @@
}
if (did_one)
- redraw_after_callback(need_update_screen);
+ redraw_after_callback(need_update_screen, FALSE);
#ifdef FEAT_BEVAL_TERM
if (bevalexpr_due_set)