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:
@@ -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 *
|
||||
|
Reference in New Issue
Block a user