mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-27 12:04:21 +00:00
Added the lovebird.clear() function
This commit is contained in:
parent
f9485a14cb
commit
4492c24366
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user