Fixed wrong keylabel to ascii conversion for <CR>.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 28 Oct 2013 21:17:07 +0000 (22:17 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 28 Oct 2013 21:17:07 +0000 (22:17 +0100)
src/map.c

index 98eaf7b..fe67a57 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -82,7 +82,7 @@ static struct {
     char *ch;
     int  chlen;
 } key_labels[] = {
-    {"<CR>",    4, "\n",         1},
+    {"<CR>",    4, "\x0d",       1},
     {"<Tab>",   5, "\t",         1},
     {"<S-Tab>", 7, CSI_STR "kB", 3},
     {"<Esc>",   5, "\x1b",       1},