260428.2 · c8f330ad0e4da5966adfabe1ad50468748ca8382
feat: KeyBacktab updates for advanced mode (fixes #1018)
In advanced, KeyBacktab should be reported as ModShift + KeyTab.
reading declarations
Changes to key_test.go. All files
@@ -78,6 +78,16 @@ func TestEventKeyAdvancedNormalization(t *testing.T) { wantPhysical: KeyTab, wantRepeat: 2, },+ {+ name: "advanced backtab normalizes to shift tab",+ ev: NewEventKeyEx(KeyBacktab, "", ModNone, true, KeyBacktab, 1),+ wantKey: KeyTab,+ wantStr: "",+ wantMod: ModShift,+ wantPressed: true,+ wantPhysical: KeyTab,+ wantRepeat: 1,+ }, { name: "backspace alias", ev: NewEventKeyEx(KeyBackspace2, "", ModNone, true, KeyBackspace2, 1),