aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorK4 <k4@noreply.codeberg.org>2026-08-25 12:03:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-09-02 07:18:21 +0000
commitde649b6137ec1c5f7f684ef44e48d9a881a2744f (patch)
tree83a070b7471270bbce49bf2b77444fc770035591 /input.c
parentchangelog: selection-override-modifiers fixes (diff)
term: wrap url related fields into a struct
Diffstat (limited to 'input.c')
-rw-r--r--input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input.c b/input.c
index e11b86db..9d768876 100644
--- a/input.c
+++ b/input.c
@@ -358,8 +358,8 @@ execute_binding(struct seat *seat, struct terminal *term,
action == BIND_ACTION_SHOW_URLS_LAUNCH ? URL_ACTION_LAUNCH :
URL_ACTION_PERSISTENT;
- urls_collect(term, url_action, &term->conf->url.preg, true, &term->urls);
- urls_assign_key_combos(term->conf, &term->urls);
+ urls_collect(term, url_action, &term->conf->url.preg, true, &term->url.list);
+ urls_assign_key_combos(term->conf, &term->url.list);
urls_render(term, &term->conf->url.launch);
return true;
}
@@ -480,8 +480,8 @@ execute_binding(struct seat *seat, struct terminal *term,
return true;
}
- urls_collect(term, url_action, &regex->preg, false, &term->urls);
- urls_assign_key_combos(term->conf, &term->urls);
+ urls_collect(term, url_action, &regex->preg, false, &term->url.list);
+ urls_assign_key_combos(term->conf, &term->url.list);
urls_render(term, &regex->launch);
return true;
}