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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user