From 89ab74406fc0bd5097a378331ba41f369cbd25cf Mon Sep 17 00:00:00 2001 From: Helios Agent Date: Fri, 6 Mar 2026 03:17:54 +0100 Subject: [PATCH] fix: display::cmd_done for inform, remove unused imports, align README --- README.md | 2 +- crates/client/src/main.rs | 2 +- crates/server/src/ws_handler.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index af7c40a..3772bbf 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ remote windows # list visible windows remote focus # focus a window remote maximize # maximize and focus a window remote minimize-all # minimize all windows -remote inform "Something happened" # notify user (fire-and-forget, no response) +remote inform "Something happened" # notify user (fire-and-forget, no response) remote inform "message" --title "Title" # with custom dialog title remote run [args...] # launch program (fire-and-forget) remote clipboard-get # get clipboard text diff --git a/crates/client/src/main.rs b/crates/client/src/main.rs index ffda017..4ea9b6f 100644 --- a/crates/client/src/main.rs +++ b/crates/client/src/main.rs @@ -446,7 +446,7 @@ async fn handle_message( #[cfg(not(windows))] let _ = (msg, ttl); }); - display::log_ok("inform", &message); + display::cmd_done("📢", "inform", &message, true, "sent"); ClientMessage::Ack { request_id } } diff --git a/crates/server/src/ws_handler.rs b/crates/server/src/ws_handler.rs index 1c7bdc7..4f8d419 100644 --- a/crates/server/src/ws_handler.rs +++ b/crates/server/src/ws_handler.rs @@ -5,7 +5,6 @@ use axum::{ use axum::extract::ws::{Message, WebSocket}; use futures_util::{SinkExt, StreamExt}; use tokio::sync::mpsc; -use uuid::Uuid; use tracing::{debug, error, info, warn}; use helios_common::protocol::{ClientMessage, ServerMessage};