VITE/box.lua
asciibene c2ff8414cb ...
2022-04-21 14:21:24 -04:00

16 lines
304 B
Lua

-- toolbox : various functions
-- ::asciibene::
function draw_pane(ttl)
local bxlen=#ttl+4
local bylen=3
for i=1,bylen do
if i==1 or i==3 then
print(string.rep("*",bxlen))
elseif i==2 then
print("*".." "..ttl.." ".."*")
end
end
end