Made ls display amount of dirs/files

Self explanatory
This commit is contained in:
Wuerfel_21 2014-06-19 23:59:17 +02:00
parent aca9894e76
commit 084aa8ab43

View File

@ -65,6 +65,8 @@ for i = 1, #dirs do
end end
end end
setColor(0xFFFFFF) setColor(0xFFFFFF)
io.write("\nDirectorys: "..tostring(#lsd))
io.write("\nFiles: "..tostring(#lsf))
if not options.l then if not options.l then
io.write("\n") io.write("\n")
end end