diff options
author | Alexander Færøy <ahf@0x90.dk> | 2015-02-16 22:15:04 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2015-02-16 22:15:04 +0100 |
commit | 8e64aee42a0692360ef108b11aa035fdd04b0a89 (patch) | |
tree | 00bf87bc28af6afcd67b6bfa454169cebdf26c1b /src/fe-text | |
parent | dd58bd5f7b616dbdd927d7828205b8635d3f76f9 (diff) | |
parent | 09f23d06b5262c53b65fa04d4f83cfd170d919c5 (diff) | |
download | irssi-8e64aee42a0692360ef108b11aa035fdd04b0a89.zip |
Merge pull request #115 from ailin-nemui/fix-hat-key
Make ^ key and Ctrl+^ key usable with /BIND
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-readline.c | 4 |
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'; } |