summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 476a798b..e93f2293 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -393,8 +393,8 @@ static void sig_gui_key_pressed(gpointer keyp)
}
if (strcmp(str, "^") == 0) {
- /* change it as ^^ */
- str[1] = '^';
+ /* change it as ^-, that is an invalid control char */
+ str[1] = '-';
str[2] = '\0';
}