Is there any way to trigger multiple ya.manager_emit
commands sequentially.
#2348
-
What system are you running Yazi on?Linux Wayland What terminal are you running Yazi in?kitty 0.39.1
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Try: local wait = ya.sync(function() end)
ya.manager_emit("hidden", { "show", tab = cx.active.id })
wait()
ya.manager_emit("hover", { "/home/user/.config", tab = cx.active.id }) |
Beta Was this translation helpful? Give feedback.
Oh I think I find a way.
Put
ya.manager_emit("hover"...)
in entry function and then call it withya.manager_emit("plugin"...)
instead. xD