Skip to content

Commit

Permalink
Sequences should not participate in global shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Dec 1, 2023
1 parent 53980d0 commit 9560968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def set_cocoa_global_shortcuts(opts: Options) -> Dict[str, SingleKey]:
func_map = defaultdict(list)
for k, v in opts.keyboard_modes[''].keymap.items():
for kd in v:
if not kd.options.when_focus_on and not kd.options.mode and not kd.options.new_mode:
if not kd.options.when_focus_on and not kd.options.mode and not kd.options.new_mode and not kd.is_sequence:
parts = tuple(kd.definition.split())
func_map[parts].append(k)

Expand Down

0 comments on commit 9560968

Please sign in to comment.