diff options
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 08c4bfae0b..1be83d745e 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -163,6 +163,7 @@ function Screen.new(width, height) height = 14 end local self = setmetatable({ + timeout = default_screen_timeout, title = '', icon = '', bell = false, @@ -248,7 +249,7 @@ function Screen:wait(check, timeout) return true end - run(nil, notification_cb, nil, timeout or default_screen_timeout) + run(nil, notification_cb, nil, timeout or self.timeout) if not checked then err = check() end |