Support KP_Enter as selection key ()

This commit adds selection/action support for the numpad enter key
This commit is contained in:
Dokkae 2024-12-26 13:53:00 +00:00 committed by GitHub
parent 27b5a1904a
commit 7f40aaa02f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -565,7 +565,7 @@ fn activate(app: &gtk::Application, runtime_data: Rc<RefCell<RuntimeData>>) {
Inhibit(true)
}
// Handle when the selected match is "activated"
constants::Return => {
constants::Return | constants::KP_Enter => {
let mut _runtime_data_clone = runtime_data_clone.borrow_mut();
let (selected_match, plugin_view) = match _runtime_data_clone