mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-15 04:54:14 +02:00
DRYer
This commit is contained in:
@@ -113,7 +113,7 @@ def compare_opts(opts: KittyOpts, print: Print) -> None:
|
||||
seen = set()
|
||||
uniq = []
|
||||
for d in reversed(defns):
|
||||
key = d.full_key_sequence_to_trigger, d.options.when_focus_on
|
||||
key = d.unique_identity_within_keymap
|
||||
if key not in seen:
|
||||
seen.add(key)
|
||||
uniq.append(d)
|
||||
|
||||
Reference in New Issue
Block a user