mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
Made ls display amount of dirs/files
Self explanatory
This commit is contained in:
parent
aca9894e76
commit
084aa8ab43
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user