This commit is contained in:
Robert Jelic
2022-07-24 19:51:14 +02:00
parent 09e640d845
commit ae8c9dd64b
6 changed files with 58 additions and 14 deletions

View File

@@ -147,6 +147,14 @@ return function(name)
return self
end;
clear = function(self)
lines = {""}
bgLines = {""}
fgLines = {""}
hIndex, wIndex, textX, textY = 1, 1, 1, 1
return self
end,
addLine = function(self, text, index)
if(text~=nil)then
if(#lines==1)and(lines[1]=="")then