summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-04-26 13:14:56 +0200
committerBoris Faure <billiob@gmail.com>2015-04-26 13:14:56 +0200
commitda0a6284cd70ffcab208049e1cae7c06ce857289 (patch)
treec38d3113749509580793efa3f499731a8b4eef3c /src
parentd2e39f818e4a886cd2509a48bd0d91fb7a8ffc78 (diff)
keys: add underscore as special key. Should close T2369
Diffstat (limited to 'src')
-rw-r--r--src/bin/tty_keys.h24
1 files changed, 24 insertions, 0 deletions
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[] = {
602 }, 602 },
603}, 603},
604{ 604{
605 "underscore",
606 sizeof("underscore") - 1,
607 {
608 KH("_"), // default underscore
609 KH("\033_"), // default Alt+underscore
610 KH("\x1f"), // default Ctrl+underscore
611 KH("\x9f"), // default Ctrl+Alt+underscore
612 KH("_"), // default Shift+underscore
613 KH("\033_"), // default Shift+Alt+underscore
614 KH("\x1f"), // default Shift+Ctrl+underscore
615 KH("\x9f"), // default Shift+Ctrl+Alt+underscore
616 },
617 {
618 KH("_"), // cursor underscore
619 KH("\033_"), // cursor Alt+underscore
620 KH("\x1f"), // cursor Ctrl+underscore
621 KH("\x9f"), // cursor Ctrl+Alt+underscore
622 KH("_"), // cursor Shift+underscore
623 KH("\033_"), // cursor Shift+Alt+underscore
624 KH("\x1f"), // cursor Shift+Ctrl+underscore
625 KH("\x9f"), // cursor Shift+Ctrl+Alt+underscore
626 },
627},
628{
605 "space", 629 "space",
606 sizeof("space") - 1, 630 sizeof("space") - 1,
607 { 631 {