1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-12 19:38:05 +00:00

extended file listing

This commit is contained in:
kepler155c@gmail.com
2017-08-05 04:17:06 -04:00
parent a1660fd073
commit c21afd2875
8 changed files with 34 additions and 47 deletions

View File

@@ -204,7 +204,7 @@ function Browser:updateDirectory(dir)
dir.totalSize = 0
Util.clear(dir.files)
local files = fs.list(dir.name, true)
local files = fs.listEx(dir.name)
if files then
dir.size = #files
for _, file in pairs(files) do

View File

@@ -67,7 +67,7 @@ while true do
while true do
local e = Event.pullEvent()
if e == 'terminate' then
if e[1] == 'terminate' then
break
end
if not socket.connected then