-monitor support & getAll() for list-objects

added multiple monitor support
added getAll() for lists, dropdowns, radios and menubars
This commit is contained in:
Robert Jelic
2022-05-30 22:45:37 +02:00
parent 628e02d600
commit 1675b71c40
18 changed files with 265 additions and 155 deletions

View File

@@ -1,5 +1,5 @@
local function basaltDrawHelper()
local terminal = parentTerminal
local function basaltDrawHelper(drawTerm)
local terminal = drawTerm
local width, height = terminal.getSize()
local cacheT = {}
local cacheBG = {}
@@ -178,5 +178,4 @@ local function basaltDrawHelper()
end;
}
return drawHelper
end
local drawHelper = basaltDrawHelper()
end