Merge pull request #249 from Xertis/main

Added a clear console command
This commit is contained in:
MihailRis
2024-06-15 13:09:58 +03:00
committed by GitHub
+9
View File
@@ -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",