aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/functional/ui/screen.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 3333ac6c34..934b4e9032 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -634,6 +634,9 @@ screen:redraw_debug() to show all intermediate screen states.]]
if expected.win_pos == nil then
extstate.win_pos = nil
end
+ if expected.cmdline == nil then
+ extstate.cmdline = nil
+ end
if expected.float_pos then
expected.float_pos = deepcopy(expected.float_pos)