diff options
Diffstat (limited to 'src/command/search.rs')
-rw-r--r-- | src/command/search.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/search.rs b/src/command/search.rs index 93f7451f..af2a1e43 100644 --- a/src/command/search.rs +++ b/src/command/search.rs @@ -160,7 +160,7 @@ async fn key_handler( return Some( app.results .get(i) - .map_or("".to_string(), |h| h.command.clone()), + .map_or(app.input.clone(), |h| h.command.clone()), ); } Key::Char(c) => { |