feat: esc to clear query
This commit is contained in:
parent
717aabb3d6
commit
11d99931f8
1 changed files with 2 additions and 0 deletions
|
|
@ -404,6 +404,8 @@ impl State {
|
|||
|
||||
Key::Character("y" | "c") if db_loaded => Some(Message::Copy),
|
||||
|
||||
Key::Named(key::Named::Escape) => Some(Message::ChangeQuery(String::new())),
|
||||
|
||||
Key::Character("q") => Some(Message::Quit),
|
||||
|
||||
// ignore unused keys
|
||||
|
|
|
|||
Loading…
Reference in a new issue