Merge branch 'hyperlink_unbound_variable' of https://github.com/miseran/kitty
This commit is contained in:
commit
f1e73c015a
@ -756,6 +756,7 @@ def handle_result(args: List[str], data: Dict[str, Any], target_window_id: int,
|
||||
cwd = data['cwd']
|
||||
program = None if program == 'default' else program
|
||||
if text_type == 'hyperlink':
|
||||
w = boss.window_id_map.get(target_window_id)
|
||||
for m in matches:
|
||||
if w is not None:
|
||||
w.open_url(m, hyperlink_id=1, cwd=cwd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user