summaryrefslogtreecommitdiff
path: root/src/ascii.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-10-08 00:24:35 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-10-08 00:36:36 +0200
commitead4d171cd6ace5f9a6aa59ab15d2a8d1bde3fe1 (patch)
treed1f2f0b063d061c11c1d69da5fede6102e1921bf /src/ascii.h
parent9fd3263bfd4ea794dd9eb81b763b5e94dc93ddda (diff)
Moved show command to normal.c.
We don't generate the show command for non bound mappings. This might save cpu cycles. The show commands for the normal mode are set from the keypress handler. So we can handle show commands like vim where an incomplete mapped command like ':nmap foo 12g', where the '12g' should appear in show command as incomplete command. Now the show commands keys are displayed like in vim with <hex> for none printable keys.
Diffstat (limited to 'src/ascii.h')
-rw-r--r--src/ascii.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ascii.h b/src/ascii.h
index 8a13349..88ae8b1 100644
--- a/src/ascii.h
+++ b/src/ascii.h
@@ -22,8 +22,8 @@
/* CSI (control sequence introducer) is the first byte of a control sequence
* and is always followed by two bytes. */
-#define CSI 0x9b
-#define CSI_STR "\233"
+#define CSI 0x80
+#define CSI_STR "\x80"
#define IS_SPECIAL(c) (c < 0)