From 2ff6a3fa9cd2517aacfdb012776ad8ef04086e5e Mon Sep 17 00:00:00 2001 From: SoapyDev <89493790+SoapyDev@users.noreply.github.com> Date: Mon, 5 Aug 2024 08:54:19 -0400 Subject: [PATCH] Reformatting --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index b0f1b844..f00382fb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -167,7 +167,6 @@ fn run(terminal: &mut Terminal, state: &AppState) -> io::Result<( } else if let Some(cmd) = custom_list.handle_key(key, state) { command_opt = Some(RunningCommand::new(cmd, state)); } else { - // Handle keys while not in search mode match key.code { // Exit the program @@ -176,7 +175,7 @@ fn run(terminal: &mut Terminal, state: &AppState) -> io::Result<( KeyCode::Char('/') => { in_search_mode = true; continue; - }, + } _ => {} } }