feat(keyboard-nav): add Escape and Search messages

This commit is contained in:
Michael Aaron Murphy 2023-01-25 04:47:27 +01:00
parent 24988b54c3
commit 4b3f6ec9dc
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 33 additions and 2 deletions

View file

@ -406,6 +406,7 @@ impl Application for Window {
keyboard_nav::Message::Unfocus => ret = keyboard_nav::unfocus(),
keyboard_nav::Message::FocusNext => ret = widget::focus_next(),
keyboard_nav::Message::FocusPrevious => ret = widget::focus_previous(),
_ => (),
},
Message::ToggleWarning => self.toggle_warning(),
}