Support KP_Enter as selection key (#174)
This commit adds selection/action support for the numpad enter key
This commit is contained in:
parent
27b5a1904a
commit
7f40aaa02f
@ -565,7 +565,7 @@ fn activate(app: >k::Application, runtime_data: Rc<RefCell<RuntimeData>>) {
|
|||||||
Inhibit(true)
|
Inhibit(true)
|
||||||
}
|
}
|
||||||
// Handle when the selected match is "activated"
|
// 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 mut _runtime_data_clone = runtime_data_clone.borrow_mut();
|
||||||
|
|
||||||
let (selected_match, plugin_view) = match _runtime_data_clone
|
let (selected_match, plugin_view) = match _runtime_data_clone
|
||||||
|
Loading…
x
Reference in New Issue
Block a user