1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

This should fix the bug causing Alt-Shift to generate Escape.

[originally from svn r2093]
This commit is contained in:
Simon Tatham 2002-10-17 16:45:17 +00:00
parent 3c6a770e9f
commit 34bdd30857

View File

@ -432,9 +432,9 @@ gint key_event(GtkWidget *widget, GdkEventKey *event, gpointer data)
output[31] = '\0';
end = strlen(output);
if (event->state & GDK_MOD1_MASK)
start = 0;
start = end = 0;
else
start = 1;
start = end = 1;
/* Control-` is the same as Control-\ (unless gtk has a better idea) */
if (!event->string[0] && event->keyval == '`' &&