Repo for VITE, a lua textual editor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
304 B

-- 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