From e50507126f532a0b0ae65e201a6372b7ea5b0ccd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 Dec 2021 10:51:05 +0000 Subject: 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) --- src/beval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/beval.c') diff --git a/src/beval.c b/src/beval.c index 8e0efb5e2b..8b7570b575 100644 --- a/src/beval.c +++ b/src/beval.c @@ -308,7 +308,7 @@ general_beval_cb(BalloonEval *beval, int state UNUSED) // The 'balloonexpr' evaluation may show something on the screen // that requires a screen update. if (must_redraw) - redraw_after_callback(FALSE); + redraw_after_callback(FALSE, FALSE); recursive = FALSE; return; -- cgit v1.2.3