mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0071: command overlaps with printed text in scrollback
Problem: Command overlaps with printed text in scrollback. Solution: Clear until end-of-line and use correct message chunk. (closes #10765, closes #10764)
This commit is contained in:
@@ -2595,6 +2595,7 @@ sb_text_start_cmdline(void)
|
||||
sb_text_end_cmdline(void)
|
||||
{
|
||||
do_clear_sb_text = SB_CLEAR_CMDLINE_DONE;
|
||||
msg_sb_eol();
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2614,7 +2615,7 @@ clear_sb_text(int all)
|
||||
{
|
||||
if (last_msgchunk == NULL)
|
||||
return;
|
||||
lastp = &last_msgchunk->sb_prev;
|
||||
lastp = &msg_sb_start(last_msgchunk)->sb_prev;
|
||||
}
|
||||
|
||||
while (*lastp != NULL)
|
||||
|
Reference in New Issue
Block a user