mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Bug `shift-backspace': whichever of ^H and ^? is configured for
Backspace, Shift-Backspace should do the _other_ one. Thanks to Justin Bradford. [originally from svn r2079]
This commit is contained in:
@ -472,6 +472,12 @@ gint key_event(GtkWidget *widget, GdkEventKey *event, gpointer data)
|
||||
output[1] = cfg.bksp_is_delete ? '\x7F' : '\x08';
|
||||
end = 2;
|
||||
}
|
||||
/* For Shift Backspace, do opposite of what is configured. */
|
||||
if (event->keyval == GDK_BackSpace &&
|
||||
(event->state & GDK_SHIFT_MASK)) {
|
||||
output[1] = cfg.bksp_is_delete ? '\x08' : '\x7F';
|
||||
end = 2;
|
||||
}
|
||||
|
||||
/* Shift-Tab is ESC [ Z */
|
||||
if (event->keyval == GDK_ISO_Left_Tab ||
|
||||
|
Reference in New Issue
Block a user