aboutsummaryrefslogtreecommitdiff
path: root/url-mode.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-20 15:56:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-22 12:50:47 +0000
commit0f483d65ceb06e40eab8d5f5291e681112f06249 (patch)
treefbad4bbcbb9d16599b2d55651a7f8fe3ca17a650 /url-mode.c
parentMerge branch 'underline-cursor-thickness' (diff)
config: move url-mode related options to a dedicated section, ‘url’
Diffstat (limited to 'url-mode.c')
-rw-r--r--url-mode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/url-mode.c b/url-mode.c
index 6aa56a43..fc1812ae 100644
--- a/url-mode.c
+++ b/url-mode.c
@@ -93,7 +93,7 @@ activate_url(struct seat *seat, struct terminal *term, const struct url *url)
}
if (spawn_expand_template(
- &term->conf->url_launch, 1,
+ &term->conf->url.launch, 1,
(const char *[]){"url"},
(const char *[]){url_string},
&argc, &argv))
@@ -405,7 +405,7 @@ osc8_uris(const struct terminal *term, enum url_action action, url_list_t *urls)
{
bool dont_touch_url_attr = false;
- switch (term->conf->osc8_underline) {
+ switch (term->conf->url.osc8_underline) {
case OSC8_UNDERLINE_URL_MODE:
dont_touch_url_attr = false;
break;
@@ -484,7 +484,7 @@ static void
generate_key_combos(const struct config *conf,
size_t count, wchar_t *combos[static count])
{
- const wchar_t *alphabet = conf->jump_label_letters;
+ const wchar_t *alphabet = conf->url.label_letters;
const size_t alphabet_len = wcslen(alphabet);
size_t hints_count = 1;