From e2be1bea0b8479df3bc0e2ccd4593cd1e138b690 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 3 May 2024 17:30:16 +0200 Subject: fix choice detection This slipped through while amending 526873be. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index d7434d9..0769660 100644 --- a/init.lua +++ b/init.lua @@ -43,7 +43,7 @@ local function confirm(path, pid) vis:redraw() if status == 0 then - return output:find('^edit') ~= nil + return 'yes' == output:sub(1, 3) end return false end -- cgit v1.2.3