We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e7f31 commit fb9e88eCopy full SHA for fb9e88e
src/gui.rs
@@ -443,7 +443,8 @@ impl MyApp {
443
// send command
444
self.history.push(self.command.clone());
445
self.index = self.history.len() - 1;
446
- if let Err(err) = self.send_tx.send(self.command.clone() + &self.eol) {
+ let eol = self.eol.replace("\\r", "\r").replace("\\n", "\n");
447
+ if let Err(err) = self.send_tx.send(self.command.clone() + &eol) {
448
print_to_console(
449
&self.print_lock,
450
Print::Error(format!("send_tx thread send failed: {:?}", err)),
0 commit comments