From 7f40aaa02f71974e4eba19ca42a6b60969bbde09 Mon Sep 17 00:00:00 2001
From: Dokkae <90514461+Dokkae6949@users.noreply.github.com>
Date: Thu, 26 Dec 2024 13:53:00 +0000
Subject: [PATCH] Support KP_Enter as selection key (#174)

This commit adds selection/action support for the numpad enter key
---
 anyrun/src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anyrun/src/main.rs b/anyrun/src/main.rs
index fb9f62e..59ff302 100644
--- a/anyrun/src/main.rs
+++ b/anyrun/src/main.rs
@@ -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