From 3a8c4c7dcacdd2f292f9b8d32b3fa88caca46f87 Mon Sep 17 00:00:00 2001
From: Florrie <towerofnix@gmail.com>
Date: Tue, 15 Oct 2019 18:31:51 -0300
Subject: Make BasicGrouplikeItems respond to menu key

So you can press f/m/etc to open the menu on those options, just like on
interactive grouplike items.
---
 ui.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui.js b/ui.js
index a7ad672..a221b04 100644
--- a/ui.js
+++ b/ui.js
@@ -2068,7 +2068,7 @@ class BasicGrouplikeItemElement extends Button {
     // By default for buttons, the space key also works, but since in this app
     // space is generally bound to mean "pause" instead of "select", we don't
     // check if space is pressed here.
-    if (telc.isEnter(keyBuf)) {
+    if (telc.isEnter(keyBuf) || input.isMenu(keyBuf)) {
       this.emit('pressed')
     }
   }
-- 
cgit 1.3.0-6-gf8a5