aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/embed_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-09 16:14:37 +0800
committerGitHub <noreply@github.com>2023-10-09 16:14:37 +0800
commitf96f8566b5f7997266264ba94a22844d9bc22699 (patch)
treecf6751bc06fb043ecd53d57d1dac5eeb8f8eb0b1 /test/functional/ui/embed_spec.lua
parentdadc06ced268b0ec3b5ce5796be0af78cd387cbb (diff)
downloadrneovim-f96f8566b5f7997266264ba94a22844d9bc22699.tar.gz
rneovim-f96f8566b5f7997266264ba94a22844d9bc22699.tar.bz2
rneovim-f96f8566b5f7997266264ba94a22844d9bc22699.zip
test(ui/embed_spec): use notification instead of request (#25555)
This avoid the hang mentioned in #24888, and also matches TUI better.
Diffstat (limited to 'test/functional/ui/embed_spec.lua')
-rw-r--r--test/functional/ui/embed_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua
index cd2b48213d..db01c55e23 100644
--- a/test/functional/ui/embed_spec.lua
+++ b/test/functional/ui/embed_spec.lua
@@ -98,6 +98,7 @@ describe('--embed UI', function()
-- attach immediately after startup, for early UI
local screen = Screen.new(40, 8)
+ screen.rpc_async = true -- Avoid hanging. #24888
screen:attach {stdin_fd=3}
screen:set_default_attr_ids {
[1] = {bold = true, foreground = Screen.colors.Blue1};