1 parent
65f95ca204
commit
3dbf9877bc
5 files changed
+85
-25
No files matched your search
+8
-4
@@ -131,11 +131,15 @@ if ARGV[optind] and lfs.attributes(ARGV[optind], "mode") == "directory" then
|
||||
local running = true
|
||||
FileChooser:setPath(ARGV[optind])
|
||||
while running do
|
||||
local file = FileChooser:choose(0,height)
|
||||
if file ~= nil then
|
||||
running = openFile(file)
|
||||
local file, callback = FileChooser:choose(0,height)
|
||||
if callback then
|
||||
callback()
|
||||
else
|
||||
running = false
|
||||
if file ~= nil then
|
||||
running = openFile(file)
|
||||
else
|
||||
running = false
|
||||
end
|
||||
end
|
||||
end
|
||||
elseif ARGV[optind] and lfs.attributes(ARGV[optind], "mode") == "file" then
|
||||
|
||||
Reference in new issue
Block a user