Fixed server-cli command parsing failure on Windows

This commit is contained in:
Ben Wallis 2021-09-05 16:31:28 +01:00
parent b4697555d2
commit d256d09d28

View File

@ -100,7 +100,7 @@ impl Tui {
},
Ok(_) => {
debug!(?line, "basic mode: command entered");
crate::cli::parse_command(&line, &mut msg_s);
crate::cli::parse_command(line.trim(), &mut msg_s);
},
}
}