mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Reformatting
This commit is contained in:
parent
d9b0f84156
commit
2ff6a3fa9c
|
@ -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;
|
||||||
},
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user