From fee5327e0a02cf5c2a4cc043635e2d153ee21862 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Sat, 5 Sep 2026 14:50:03 +0200 Subject: Guard missing hovered target --- yazi-enter.yazi/main.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'yazi-enter.yazi/main.lua') 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) -- cgit v1.2.3