vim-patch:9.0.0071: command overlaps with printed text in scrollback (#19505)

Problem:    Command overlaps with printed text in scrollback.
Solution:   Clear until end-of-line and use correct message chunk.
            (closes vim/vim#10765, closes vim/vim#10764)
ecdc82e74e

N/A patches for version.c:

vim-patch:9.0.0070: using utfc_ptr2char_len() when length is negative

Problem:    Using utfc_ptr2char_len() when length is negative.
Solution:   Check value of length. (closes vim/vim#10760)
4dc513a22c
This commit is contained in:
zeertzjq
2022-07-26 07:30:33 +08:00
committed by GitHub
parent 3ded2ab55a
commit fe159d23fd
5 changed files with 25 additions and 8 deletions

View File

@@ -199,11 +199,11 @@ describe('messages', function()
-- Up all the way with 'g'.
feed('g')
screen:expect([[
:%p# |
{2: 1 }1 |
{2: 2 }2 |
{2: 3 }3 |
{2: 4 }4 |
{2: 5 }5 |
{1:-- More --}^ |
]])