Fix improper handling of escape
This commit is contained in:
parent
7d2f631c5d
commit
3bb79a36ac
1 changed files with 4 additions and 0 deletions
|
|
@ -2364,6 +2364,10 @@ impl Application for App {
|
|||
Key::Named(Named::Paste) => {
|
||||
return self.update(Message::Paste(None));
|
||||
}
|
||||
Key::Named(Named::Escape) => {
|
||||
// Handled by on_escape
|
||||
return Task::none();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue