mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-12 16:57:32 -04:00
Fixed ls -l in pure io mode.
This commit is contained in:
parent
4f70ea4152
commit
57714dad27
@ -77,7 +77,11 @@ for i = 1, #dirs do
|
||||
end
|
||||
if options.a or f:sub(1, 1) ~= "." then
|
||||
if not formatOutput() then
|
||||
io.write(f .. "\n")
|
||||
io.write(f)
|
||||
if options.l then
|
||||
io.write(" " .. fs.size(fs.concat(path, f)))
|
||||
end
|
||||
io.write("\n")
|
||||
else
|
||||
io.write(text.padRight(f, m))
|
||||
if options.l then
|
||||
|
Loading…
x
Reference in New Issue
Block a user