billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=da0a6284cd70ffcab208049e1cae7c06ce857289

commit da0a6284cd70ffcab208049e1cae7c06ce857289
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Apr 26 13:14:56 2015 +0200

     keys: add underscore as special key. Should close T2369
---
 src/bin/tty_keys.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/bin/tty_keys.h b/src/bin/tty_keys.h
index ced9e2d..89d556e 100644
--- a/src/bin/tty_keys.h
+++ b/src/bin/tty_keys.h
@@ -602,6 +602,30 @@ static const Tty_Key tty_keys[] = {
   },
 },
 {
+  "underscore",
+  sizeof("underscore") - 1,
+  {
+    KH("_"), // default underscore
+    KH("\033_"), // default Alt+underscore
+    KH("\x1f"), // default Ctrl+underscore
+    KH("\x9f"), // default Ctrl+Alt+underscore
+    KH("_"), // default Shift+underscore
+    KH("\033_"), // default Shift+Alt+underscore
+    KH("\x1f"), // default Shift+Ctrl+underscore
+    KH("\x9f"), // default Shift+Ctrl+Alt+underscore
+  },
+  {
+    KH("_"), // cursor underscore
+    KH("\033_"), // cursor Alt+underscore
+    KH("\x1f"), // cursor Ctrl+underscore
+    KH("\x9f"), // cursor Ctrl+Alt+underscore
+    KH("_"), // cursor Shift+underscore
+    KH("\033_"), // cursor Shift+Alt+underscore
+    KH("\x1f"), // cursor Shift+Ctrl+underscore
+    KH("\x9f"), // cursor Shift+Ctrl+Alt+underscore
+  },
+},
+{
   "space",
   sizeof("space") - 1,
   {

-- 


Reply via email to