fix status line setting
This commit is contained in:
parent
ad3396f025
commit
30adec127f
@ -86,7 +86,7 @@ local function formatEntries(t,used,size,searchterm)
|
||||
local rt = {}
|
||||
local mx, my = mtmenu.getScreenSize()
|
||||
rt.header = " Name" .. (" "):rep(mx-11) .. "Count"
|
||||
rt.status = string.format(" %s (%i/%i) %s %s", phases[math.floor((os.time()-43200)/86400)%8], used, size, searchterm):sub(1,mx):sub(1,mx-7) .. "[H]elp"
|
||||
rt.status = string.format(" %s (%i/%i) %s %s", phases[math.floor((os.time()-43200)/86400)%8], used, size, searchterm, (" "):rep(mx)):sub(1,mx):sub(1,mx-5) .. "[H]elp"
|
||||
for k,v in ipairs(t) do
|
||||
-- (YYxYY+NN)
|
||||
local count = string.format("(%ix%i+%i)",v.size//v.maxSize, v.maxSize, v.size%v.maxSize)
|
||||
|
Loading…
Reference in New Issue
Block a user