diff --git a/src/command_bar.rs b/src/command_bar.rs index 78bd3dc..4c555c0 100644 --- a/src/command_bar.rs +++ b/src/command_bar.rs @@ -375,6 +375,14 @@ impl CommandBar { .split_whitespace() .map(|arg| arg.to_string()) .collect::>(); + if command_line_split.is_empty() { + let interface = self.interface.lock().unwrap(); + interface.send(UserTxData::Data { + content: command_line, + }); + return Ok(()); + } + let name = command_line_split[0].to_lowercase(); match name.as_str() {