@@ -13,6 +13,15 @@ function build_scheme(command)
|
|||||||
return str
|
return str
|
||||||
end
|
end
|
||||||
|
|
||||||
|
console.add_command(
|
||||||
|
"clear",
|
||||||
|
"Clears the console",
|
||||||
|
function ()
|
||||||
|
local document = Document.new("core:console")
|
||||||
|
document.log.text = ""
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
console.add_command(
|
console.add_command(
|
||||||
"help name:str=''",
|
"help name:str=''",
|
||||||
"Show help infomation for the specified command",
|
"Show help infomation for the specified command",
|
||||||
|
|||||||
Reference in New Issue
Block a user