mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-10 18:48:54 +02:00
...
This commit is contained in:
@@ -1443,8 +1443,12 @@ class Boss:
|
||||
matches.append(x)
|
||||
if has_sequence_match:
|
||||
matches = [x for x in matches if x.is_sequence]
|
||||
q = matches[-1].options.when_focus_on
|
||||
matches = [x for x in matches if x.options.when_focus_on == q]
|
||||
terminal_matches = [x for x in matches if not x.rest]
|
||||
if terminal_matches:
|
||||
matches = [terminal_matches[-1]]
|
||||
else:
|
||||
q = matches[-1].options.when_focus_on
|
||||
matches = [x for x in matches if x.options.when_focus_on == q]
|
||||
else:
|
||||
matches = [matches[-1]]
|
||||
return matches
|
||||
|
||||
Reference in New Issue
Block a user