mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-27 02:02:26 +00:00
This should fix the bug causing Alt-Shift to generate Escape.
[originally from svn r2093]
This commit is contained in:
parent
3c6a770e9f
commit
34bdd30857
@ -432,9 +432,9 @@ gint key_event(GtkWidget *widget, GdkEventKey *event, gpointer data)
|
|||||||
output[31] = '\0';
|
output[31] = '\0';
|
||||||
end = strlen(output);
|
end = strlen(output);
|
||||||
if (event->state & GDK_MOD1_MASK)
|
if (event->state & GDK_MOD1_MASK)
|
||||||
start = 0;
|
start = end = 0;
|
||||||
else
|
else
|
||||||
start = 1;
|
start = end = 1;
|
||||||
|
|
||||||
/* Control-` is the same as Control-\ (unless gtk has a better idea) */
|
/* Control-` is the same as Control-\ (unless gtk has a better idea) */
|
||||||
if (!event->string[0] && event->keyval == '`' &&
|
if (!event->string[0] && event->keyval == '`' &&
|
||||||
|
Loading…
Reference in New Issue
Block a user