mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
fixed /BIND escape_char
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3234 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
501dc3494e
commit
827a3a6311
@ -483,11 +483,16 @@ static void sig_gui_key_pressed(gpointer keyp)
|
||||
prev_entry_pos = gui_entry_get_pos(active_entry);
|
||||
prev_key = key;
|
||||
|
||||
ret = key_pressed(keyboard, str);
|
||||
if (escape_next_key || ret < 0) {
|
||||
/* key wasn't used for anything, print it */
|
||||
if (escape_next_key) {
|
||||
escape_next_key = FALSE;
|
||||
gui_entry_insert_char(active_entry, key);
|
||||
ret = 1;
|
||||
} else {
|
||||
ret = key_pressed(keyboard, str);
|
||||
if (ret < 0) {
|
||||
/* key wasn't used for anything, print it */
|
||||
gui_entry_insert_char(active_entry, key);
|
||||
}
|
||||
}
|
||||
|
||||
/* ret = 0 : some key create multiple characters - we're in the middle
|
||||
|
Loading…
Reference in New Issue
Block a user