mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
paste: redraw at end
Attempt to fix test failure since 976c6667e1
removed per-chunk redraw:
ERROR test/functional/terminal/tui_spec.lua: TUI paste: cmdline-mode inserts 1 line
test/functional/terminal/tui_spec.lua:367: in function <test/functional/terminal/tui_spec.lua:360
Expected:
|*foo |
|* |
|{4:~ }|
|{4:~ }|
|{5:[No Name] [+] }|
|:"line 1{1:"} |
|{3:-- TERMINAL --} |
Actual:
|* |
|*{4:~ }|
|{4:~ }|
|{4:~ }|
|{5:[No Name] [+] }|
|:"line 1{1:"} |
|{3:-- TERMINAL --} |
This commit is contained in:
parent
976c6667e1
commit
8560bafc6c
@ -204,6 +204,7 @@ paste = (function()
|
||||
vim.api.nvim_command(('echo "%s"'):format(dots))
|
||||
end
|
||||
if phase == -1 or phase == 3 then
|
||||
vim.api.nvim_command('redraw')
|
||||
vim.api.nvim_command('echo ""')
|
||||
vim.api.nvim_set_option('paste', false)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user