diff options
| -rw-r--r-- | yazi-enter.yazi/main.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index aee0405..49e3dd2 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -11,6 +11,10 @@ local CASE_SMART = "smart" local ACTION_ENTER = "enter" local ACTION_OPEN_HOVERED = "open-hovered" local ACTION_NONE = "none" +local EVENT_TYPE = "type" +local EVENT_SUBMIT = "submit" +local EVENT_CANCEL = "cancel" +local EVENT_CLOSED = "closed" local ACCEPTED_OPTIONS = { previous = true, @@ -117,6 +121,14 @@ local commit = ya.sync(function() return 0 end) +local function new_application_boundaries(prompt_capability) + return { + prompt = function(prompt_data) + return prompt_capability(prompt_data) + end, + } +end + return { entry = function(_, job) return parse_invocation_intent(job.args) |