mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
...
This commit is contained in:
parent
2b7455e353
commit
d4075bfa9a
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ def compare_shortcut_maps(final: Dict[Shortcut, str], final_kitty_mod: int, init
|
|||
# previous_tab uses a definition of ctrl+shift+tab not kitty_mod+tab, but
|
||||
# we cant distinguish these as the information about the original
|
||||
# definition is discarded.
|
||||
ei = {k._replace(kitty_mod=0 if v == 'previous_tab' and k.keys[0].key == 57346 else initial_kitty_mod).human_repr: v for k, v in initial.items()}
|
||||
ei = {k._replace(kitty_mod=0 if v == 'previous_tab' and k.human_repr.endswith('+tab') else initial_kitty_mod).human_repr: v for k, v in initial.items()}
|
||||
ef = {k._replace(kitty_mod=final_kitty_mod).human_repr: v for k, v in final.items()}
|
||||
added = set(ef) - set(ei)
|
||||
removed = set(ei) - set(ef)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue