« get me outta code hell

Backspace instead of escape to leave group - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-06-03 18:03:43 -0300
committerFlorrie <towerofnix@gmail.com>2018-06-03 18:03:43 -0300
commit367100752be22b27bfe7ac374c8ad489155a2914 (patch)
treed1f0455c3262de8255c1c5b3dc441c9d6053e199
parent94ce17c784b7a9caa16522de67bf8b364f01d370 (diff)
Backspace instead of escape to leave group
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 241bf99..affe312 100644
--- a/ui.js
+++ b/ui.js
@@ -313,7 +313,7 @@ class GrouplikeListingElement extends ListScrollForm {
   }
 
   keyPressed(keyBuf) {
-    if (telc.isEscape(keyBuf)) {
+    if (telc.isBackspace(keyBuf)) {
       this.loadParentGrouplike()
     } else {
       return super.keyPressed(keyBuf)