Pulse wire crate

This commit is contained in:
2026-07-22 18:08:16 +02:00
parent 4fa04aeeca
commit 39735bad87
11 changed files with 49 additions and 60 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
use crate::{PulseTradeApp, ptc::EventLog};
use crate::PulseTradeApp;
impl PulseTradeApp {
pub async fn execute_command(&mut self, ctx: &pulse_ui::state::Context, command: &str) {
@@ -18,8 +18,8 @@ impl PulseTradeApp {
}
_ => {
self.logs.lock().await.push(EventLog {
kind: crate::ptc::LogKind::Err,
self.logs.lock().await.push(pulse_wire::terminal::EventLog {
kind: pulse_wire::terminal::LogKind::Err,
name: "cmd".to_string(),
message: format!("Command '{}' not found", command),
});