Socket state

This commit is contained in:
2026-07-23 01:42:03 +02:00
parent 8e83c5cd5b
commit df8b5b5c41
3 changed files with 20 additions and 9 deletions
+13 -1
View File
@@ -11,7 +11,19 @@ impl PulseTradeApp {
ctx.close().await;
}
_ => {}
_ => {
if let Err(e) = self
.sock
.as_mut()
.unwrap()
.send(pulse_wire::terminal::TerminalClientMessage::ExecuteCommand(
command.to_string(),
))
.await
{
eprintln!("{e}");
}
}
}
}
}