Reformatting

This commit is contained in:
SoapyDev 2024-08-05 08:54:19 -04:00
parent d9b0f84156
commit 2ff6a3fa9c

View File

@ -167,7 +167,6 @@ fn run<B: Backend>(terminal: &mut Terminal<B>, state: &AppState) -> io::Result<(
} else if let Some(cmd) = custom_list.handle_key(key, state) { } else if let Some(cmd) = custom_list.handle_key(key, state) {
command_opt = Some(RunningCommand::new(cmd, state)); command_opt = Some(RunningCommand::new(cmd, state));
} else { } else {
// Handle keys while not in search mode // Handle keys while not in search mode
match key.code { match key.code {
// Exit the program // Exit the program
@ -176,7 +175,7 @@ fn run<B: Backend>(terminal: &mut Terminal<B>, state: &AppState) -> io::Result<(
KeyCode::Char('/') => { KeyCode::Char('/') => {
in_search_mode = true; in_search_mode = true;
continue; continue;
}, }
_ => {} _ => {}
} }
} }