local widgets = require("ui.widgets") local M = {} function M.render(target, title, lines) target.setBackgroundColor(colors.black) target.setTextColor(colors.white) target.clear() widgets.title(target, title) for index, line in ipairs(lines or {}) do target.setCursorPos(1, index + 2); target.write(line) end end return M