mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
commit
4d962e8349
1 changed files with 9 additions and 0 deletions
|
|
@ -13,6 +13,15 @@ function build_scheme(command)
|
|||
return str
|
||||
end
|
||||
|
||||
console.add_command(
|
||||
"clear",
|
||||
"Clears the console",
|
||||
function ()
|
||||
local document = Document.new("core:console")
|
||||
document.log.text = ""
|
||||
end
|
||||
)
|
||||
|
||||
console.add_command(
|
||||
"help name:str=''",
|
||||
"Show help infomation for the specified command",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue