aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-05-03 17:30:16 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-05-03 17:30:16 +0200
commite2be1bea0b8479df3bc0e2ccd4593cd1e138b690 (patch)
tree8b475d935136e5a300a48f73a9627384b08278db /init.lua
parent202c025eb7b066cc16d43bef5fb3d2574c84c45a (diff)
downloadvis-lockfiles-e2be1bea0b8479df3bc0e2ccd4593cd1e138b690.tar.gz
vis-lockfiles-e2be1bea0b8479df3bc0e2ccd4593cd1e138b690.zip
fix choice detection
This slipped through while amending 526873be.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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