mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user