Skip to content

Commit

Permalink
Support KP_Enter as selection key (#174)
Browse files Browse the repository at this point in the history
This commit adds selection/action support for the numpad enter key
  • Loading branch information
Dokkae6949 authored Dec 26, 2024
1 parent 27b5a19 commit 7f40aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anyrun/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f40aaa

Please sign in to comment.