mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
Merge pull request #115 from ailin-nemui/fix-hat-key
Make ^ key and Ctrl+^ key usable with /BIND
This commit is contained in:
commit
8e64aee42a
2 changed files with 11 additions and 5 deletions
|
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue