mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
^ key couldn't be used with /BIND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2796 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e8c14fea6d
commit
ee80e7601a
@ -162,6 +162,12 @@ void handle_key(unichar key)
|
|||||||
str[utf16_char_to_utf8(key, str)] = '\0';
|
str[utf16_char_to_utf8(key, str)] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strcmp(str, "^") == 0) {
|
||||||
|
/* change it as ^^ */
|
||||||
|
str[1] = '^';
|
||||||
|
str[2] = '\0';
|
||||||
|
}
|
||||||
|
|
||||||
if (escape_next_key || !key_pressed(keyboard, str)) {
|
if (escape_next_key || !key_pressed(keyboard, str)) {
|
||||||
/* key wasn't used for anything, print it */
|
/* key wasn't used for anything, print it */
|
||||||
escape_next_key = FALSE;
|
escape_next_key = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user