neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit d0c699ec7b0fe6f942536b8241e35575f3b9d5ff
parent a520d9c4eacb47dac2a3351c1d93ed06f3ad0d77
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 18 Feb 2026 19:10:08 +0800

test(screen): fix minimal timeout too small for "intermediate" (#37933)

After #27620 flags.timeout is no longer used as the minimal timeout for
"intermediate", but the default minimal timeout shouldn't be too small.
Diffstat:
Mtest/functional/ui/screen.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua @@ -809,6 +809,8 @@ function Screen:_wait(check, flags) -- must not change, so always wait this full time. if flags.unchanged then minimal_timeout = flags.timeout or default_timeout_factor * 20 + elseif flags.intermediate then + minimal_timeout = default_timeout_factor * 20 end assert(timeout >= minimal_timeout)