aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/testutil.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-15 18:35:20 +0800
committerGitHub <noreply@github.com>2024-07-15 18:35:20 +0800
commit594c7f3d77262a1222c9786d86353a0595f2894c (patch)
treed67b95de5f1c770a49317f8a7a0adaf0fdaa5a82 /test/functional/terminal/testutil.lua
parent04c158fbec9aeeccd7bd1bb16fc8a688edadd353 (diff)
downloadrneovim-594c7f3d77262a1222c9786d86353a0595f2894c.tar.gz
rneovim-594c7f3d77262a1222c9786d86353a0595f2894c.tar.bz2
rneovim-594c7f3d77262a1222c9786d86353a0595f2894c.zip
fix(ui): avoid ambiguity about last chunk when flushing halfway (#29718)
Diffstat (limited to 'test/functional/terminal/testutil.lua')
-rw-r--r--test/functional/terminal/testutil.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/testutil.lua b/test/functional/terminal/testutil.lua
index 45c73b1dc6..7eb4af4940 100644
--- a/test/functional/terminal/testutil.lua
+++ b/test/functional/terminal/testutil.lua
@@ -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 {