aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-20 15:58:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-22 12:50:47 +0000
commit53516aceec01779cc62af134f11bd7d9be71fcba (patch)
tree81b032a21ca8f7acc63e0949995e55da8473c8e1 /config.h
parentconfig: move url-mode related options to a dedicated section, ‘url’ (diff)
config: add url.protocols
This makes the protocols recognized by auto-detected URLs configurable. Closes #531
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 69fb8f07..95083e6c 100644
--- a/config.h
+++ b/config.h
@@ -135,6 +135,9 @@ struct config {
OSC8_UNDERLINE_ALWAYS,
} osc8_underline;
+ wchar_t **protocols;
+ size_t prot_count;
+ size_t max_prot_len;
} url;
struct {