fix(ui): avoid ambiguity about last chunk when flushing halfway (#29718)

This commit is contained in:
zeertzjq
2024-07-15 18:35:20 +08:00
committed by GitHub
parent 04c158fbec
commit 594c7f3d77
3 changed files with 60 additions and 9 deletions

View File

@@ -169,7 +169,7 @@ local function setup_child_nvim(args, opts)
env.VIMRUNTIME = os.getenv('VIMRUNTIME')
end
return screen_setup(0, argv, opts.cols, env)
return screen_setup(opts.extra_rows, argv, opts.cols, env)
end
return {