From 08fe086124838cd6d9b4914ad7899e0c179da134 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 13 Mar 2017 20:32:43 +0200 Subject: [PATCH] Show control key combos with uppercase alpha Instead of ^r, show ^R, as that one is used everywhere. --- src/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.c b/src/cmd.c index bf2c80e3..79e09624 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -3741,7 +3741,7 @@ char *txt; /* sufficiently long buffer */ else if (c == '\n') Sprintf(txt, ""); else if (ISCTRL(c)) - Sprintf(txt, "^%c", UNCTRL(c)); + Sprintf(txt, "^%c", highc(UNCTRL(c))); else if (ISMETA(c)) Sprintf(txt, "M-%c", UNMETA(c)); else if (c >= 33 && c <= 126) -- 2.11.4.GIT