diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-09 10:51:05 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-09 10:51:05 +0000 |
commit | e50507126f532a0b0ae65e201a6372b7ea5b0ccd (patch) | |
tree | 91e6c7e0409133dfd761059f03055320e3659cdc /src/proto | |
parent | 56150da6879a96db1c84c7ec4ceedeb84969f606 (diff) | |
download | vim-git-e50507126f532a0b0ae65e201a6372b7ea5b0ccd.tar.gz |
patch 8.2.3763: when editing the cmdline a callback may cause a scroll upv8.2.3763
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)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/drawscreen.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/drawscreen.pro b/src/proto/drawscreen.pro index 528c8b219..c83501986 100644 --- a/src/proto/drawscreen.pro +++ b/src/proto/drawscreen.pro @@ -8,7 +8,7 @@ void update_curbuf(int type); void update_debug_sign(buf_T *buf, linenr_T lnum); void updateWindow(win_T *wp); int redraw_asap(int type); -void redraw_after_callback(int call_update_screen); +void redraw_after_callback(int call_update_screen, int do_message); void redraw_later(int type); void redraw_win_later(win_T *wp, int type); void redraw_later_clear(void); |