0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0099: scrollback can be wrong after redrawing the command line

Problem:    Scrollback can be wrong after redrawing the command line.
Solution:   Clear unfinished scrollback when redrawing. (closes #10807)
This commit is contained in:
zeertzjq
2022-07-28 12:34:09 +01:00
committed by Bram Moolenaar
parent 5748b7f2c8
commit 46af7bc08d
5 changed files with 56 additions and 7 deletions

View File

@@ -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 *