Added the lovebird.clear() function

This commit is contained in:
rxi 2014-04-12 17:56:25 +01:00
parent f9485a14cb
commit 4492c24366

View File

@ -394,6 +394,12 @@ function lovebird.checkwhitelist(addr)
end
function lovebird.clear()
lovebird.lines = {}
lovebird.buffer = ""
end
function lovebird.print(...)
local str = table.concat(map({...}, tostring), " ")
if not lovebird.allowhtml then