diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 14:50:40 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 14:50:40 +0200 |
| commit | 769098256dac4cec4f4782ee71a53be1ccb33508 (patch) | |
| tree | a6eea75aacd06e1d12d051d54b01773dce3ab6b6 /yazi-enter.yazi/main.lua | |
| parent | 3509b2bd7cf12e6d8c0f3500e7bb84f3749242d6 (diff) | |
Emit hovered file action
Diffstat (limited to 'yazi-enter.yazi/main.lua')
| -rw-r--r-- | yazi-enter.yazi/main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index b091acb..902fbfd 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -141,6 +141,8 @@ local commit = ya.sync(function(_, mode, submitted_query) local decision = decide_target(mode, is_dir) if decision == ACTION_ENTER then ya.emit("enter", {}) + elseif decision == ACTION_OPEN_HOVERED then + ya.emit("open", { hovered = true }) end return 0 end) |