Output console commands into console output
This commit is contained in:
parent
6cabf90aef
commit
55fea3e31c
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ void prism::console::invoke_command(const std::string_view name, const prism::co
|
|||
}
|
||||
|
||||
void prism::console::parse_and_invoke_command(const std::string_view command) {
|
||||
prism::log("> {}", command);
|
||||
|
||||
const auto tokens = tokenize(command, " ");
|
||||
if(tokens.empty())
|
||||
return;
|
||||
|
|
Reference in a new issue