url-mode: urls_collect(): URL list pointer as an argument

This commit is contained in:
Daniel Eklöf 2021-02-06 20:01:52 +01:00
parent 2c10a147ea
commit a988138492
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 61 additions and 55 deletions

View file

@ -280,9 +280,9 @@ execute_binding(struct seat *seat, struct terminal *term,
? URL_ACTION_COPY
: URL_ACTION_LAUNCH;
urls_collect(term, url_action);
urls_tag_cells(term);
render_refresh_urls(term);
urls_collect(term, url_action, &term->urls);
urls_assign_key_combos(&term->urls);
urls_render(term);
return true;
}