Skip to content

Commit 7f40aaa

Browse files
authored
Support KP_Enter as selection key (#174)
This commit adds selection/action support for the numpad enter key
1 parent 27b5a19 commit 7f40aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anyrun/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ fn activate(app: &gtk::Application, runtime_data: Rc<RefCell<RuntimeData>>) {
565565
Inhibit(true)
566566
}
567567
// Handle when the selected match is "activated"
568-
constants::Return => {
568+
constants::Return | constants::KP_Enter => {
569569
let mut _runtime_data_clone = runtime_data_clone.borrow_mut();
570570

571571
let (selected_match, plugin_view) = match _runtime_data_clone

0 commit comments

Comments
 (0)