diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 14:50:03 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 14:50:03 +0200 |
| commit | fee5327e0a02cf5c2a4cc043635e2d153ee21862 (patch) | |
| tree | e9cc3031bd395c834ddbd5097dbcf06ea7d503ea /yazi-enter.yazi/main.lua | |
| parent | 6383a82d03a9abba91f81007a0eadec9b707e60d (diff) | |
Guard missing hovered target
Diffstat (limited to 'yazi-enter.yazi/main.lua')
| -rw-r--r-- | yazi-enter.yazi/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index f2a8366..fb0ddaa 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -128,6 +128,9 @@ local commit = ya.sync(function(_, mode, submitted_query) if finder == nil then return 0 end + if target == nil then + return 0 + end return 0 end) |