jesseduffield.lazygit/pkg/gui/services/custom_commands
Stefan Haller ee94e215e7 Remove dead Modifier field from keybindings
Modifiers were moved into Key in 22169e22f, but the separate Modifier field
on types.Binding and gocui.keybinding was left behind. The keypress matcher
already compares modifiers via Key.Equals, so the old field is never read on
the dispatch path; it just got passed through SetKeybinding and stored.

Drop it from gocui.keybinding, types.Binding, and the SetKeybinding /
DeleteKeybinding signatures, and remove every now-redundant Modifier:
gocui.ModNone struct field. Mouse bindings keep their own Modifier (on
ViewMouseBinding) since that path still consults it.
2026-05-06 09:51:23 +02:00
..
client.go Remove dead Modifier field from keybindings 2026-05-06 09:51:23 +02:00
handler_creator.go Get rid of pkg/gui/keybindings package 2026-04-30 22:22:53 +02:00
keybinding_creator.go Remove dead Modifier field from keybindings 2026-05-06 09:51:23 +02:00
menu_generator.go Modernize all codes 2025-11-15 10:46:23 +01:00
menu_generator_test.go Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
models.go Expose PushUrls to custom commands 2026-05-04 13:09:47 +02:00
resolver.go feat: support custom keybinds in custom command prompt menus 2025-12-22 13:43:52 +01:00
session_state_loader.go Expose PushUrls to custom commands 2026-05-04 13:09:47 +02:00