mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02: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
1 changed files with 6 additions and 0 deletions
|
|
@ -162,6 +162,12 @@ void handle_key(unichar key)
|
|||
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)) {
|
||||
/* key wasn't used for anything, print it */
|
||||
escape_next_key = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue