Show control key combos with uppercase alpha

Instead of ^r, show ^R, as that one is used everywhere.
This commit is contained in:
Pasi Kallinen
2017-03-13 20:32:46 +02:00
parent f9438f6e53
commit 08fe086124
+1 -1
View File
@@ -3741,7 +3741,7 @@ char *txt; /* sufficiently long buffer */
else if (c == '\n') else if (c == '\n')
Sprintf(txt, "<enter>"); Sprintf(txt, "<enter>");
else if (ISCTRL(c)) else if (ISCTRL(c))
Sprintf(txt, "^%c", UNCTRL(c)); Sprintf(txt, "^%c", highc(UNCTRL(c)));
else if (ISMETA(c)) else if (ISMETA(c))
Sprintf(txt, "M-%c", UNMETA(c)); Sprintf(txt, "M-%c", UNMETA(c));
else if (c >= 33 && c <= 126) else if (c >= 33 && c <= 126)