2023-01-09 23:49:16 +08:00

21 lines
273 B
Lua

local M = {}
M.__index = M
M.len = 0
function M:new()
local items = {}
setmetatable(items, self)
return items
end
function M:insert(item, highlight)
table.insert(self, item)
self.len = self.len + #item
end
function M:format(win_width)
end
return M