forked from izaya/OC-PsychOS2
made df wrap numbers better
This commit is contained in:
parent
faca451c57
commit
ec699518b5
@ -13,7 +13,7 @@ local function wrapUnits(n)
|
||||
if not scale[count] then return "inf" end
|
||||
n = n / 1024
|
||||
end
|
||||
return tostring(n)..(scale[count] or "")
|
||||
return tostring(math.floor(n))..(scale[count] or "")
|
||||
end
|
||||
local fstr = "%-"..tostring(ml).."s %5s %5s"
|
||||
print("fs"..(" "):rep(ml-2).." size used")
|
||||
|
Loading…
Reference in New Issue
Block a user