mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
Merge branch 'main' of https://github.com/Xertis/VoxelEngine-Cpp
This commit is contained in:
commit
88e551da37
1 changed files with 9 additions and 0 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue