1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-18 06:08:06 +00:00

cloud edit + logger removal

This commit is contained in:
kepler155c@gmail.com
2019-01-23 15:28:43 -05:00
parent dc915337a0
commit 073f4c1a6d
7 changed files with 50 additions and 143 deletions

View File

@@ -43,7 +43,7 @@ local buttons = { }
local sx, sy = term.current().getSize()
local maxRecent = math.ceil(sx * sy / 62)
local function elipse(s, len)
local function ellipsis(s, len)
if #s > len then
s = s:sub(1, len - 2) .. '..'
end
@@ -253,7 +253,7 @@ function page.container:setCategory(categoryName, animate)
icon = DEFAULT_ICON
end
local title = elipse(program.title, 8)
local title = ellipsis(program.title, 8)
local width = math.max(icon.width + 2, #title + 2)
table.insert(self.children, UI.Icon({