From ccf08c5511688d2e89fd09e4076d99c63f0a7348 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 14 Aug 2025 19:26:41 +0100 Subject: [PATCH] fix(app): use debug level for key event action logging --- src/app.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.rs b/src/app.rs index c3cd669..4eb55ba 100644 --- a/src/app.rs +++ b/src/app.rs @@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize}; use tokio::sync::{mpsc, Mutex, RwLock}; use tokio::task::block_in_place; use tokio_util::sync::CancellationToken; -use tracing::{debug, info}; +use tracing::debug; use crate::action::Action; use crate::components::*; @@ -224,13 +224,13 @@ impl App { }; match keymap.get(&vec![key]) { Some(action) => { - info!("Got action: {action:?}"); + debug!("Got action: {action:?}"); action_tx.send(action.clone())?; } _ => { self.last_tick_key_events.push(key); if let Some(action) = keymap.get(&self.last_tick_key_events) { - info!("Got action: {action:?}"); + debug!("Got action: {action:?}"); action_tx.send(action.clone())?; } }