diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-28 12:34:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-28 12:34:09 +0100 |
commit | 46af7bc08debbf408d025680eeef136fb3b528ef (patch) | |
tree | 8770d0e93cb01df8e5d0780279a083b874dc0fc8 /src/ex_getln.c | |
parent | 5748b7f2c8a8e8e6d12b3e2531df5c0261fd8f3b (diff) |
patch 9.0.0099: scrollback can be wrong after redrawing the command linev9.0.0099
Problem: Scrollback can be wrong after redrawing the command line.
Solution: Clear unfinished scrollback when redrawing. (closes #10807)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index a5196fcf6b..2a1fe3dc6f 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3892,6 +3892,7 @@ redrawcmd(void) return; } + sb_text_restart_cmdline(); msg_start(); redrawcmdprompt(); @@ -4106,7 +4107,7 @@ get_cmdline_info(void) #if defined(FEAT_EVAL) || defined(FEAT_CMDWIN) || defined(PROTO) /* - * Get pointer to the command line info to use. save_ccline() may clear + * Get pointer to the command line info to use. save_cmdline() may clear * ccline and put the previous value in prev_ccline. */ static cmdline_info_T * |