« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
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')
     }
   }