Pulse terminal communication
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::{PulseTradeApp, types::EventLog};
|
||||
use crate::{PulseTradeApp, ptc::EventLog};
|
||||
|
||||
impl PulseTradeApp {
|
||||
pub async fn execute_command(&mut self, ctx: &pulse_ui::state::Context, command: &str) {
|
||||
@@ -19,7 +19,7 @@ impl PulseTradeApp {
|
||||
|
||||
_ => {
|
||||
self.logs.lock().await.push(EventLog {
|
||||
kind: crate::types::LogKind::Err,
|
||||
kind: crate::ptc::LogKind::Err,
|
||||
name: "cmd",
|
||||
message: format!("Command '{}' not found", command),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user