VITE/box.lua

16 lines
304 B
Lua
Raw Permalink Normal View History

2022-04-21 18:21:24 +00:00
-- toolbox : various functions
2022-04-08 22:44:31 +00:00
-- ::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