Fix(handlers::command): Add the missing displayOutput handler
This handler is called by the lua executor, to show the final output of a lua execution.
This commit is contained in:
parent
909fc01a48
commit
f7b161fb55
|
@ -67,6 +67,14 @@ pub async fn handle(
|
|||
EventStatus::Terminate
|
||||
}
|
||||
|
||||
Command::DisplayOutput(output) => {
|
||||
// TODO(@Soispha): This is only used to show the lua command output to the user.
|
||||
// Lua commands already receive the output. This should probably be communicated
|
||||
// better, should it?
|
||||
send_status_output!(output);
|
||||
EventStatus::Ok
|
||||
}
|
||||
|
||||
Command::CommandLineShow => {
|
||||
app.ui.cli_enable();
|
||||
send_status_output!("CLI online");
|
||||
|
|
Reference in New Issue