config: add url.uri-characters

This option specifies the characters allowed in the auto-detected
URLs.

Any character not in this set constitutes an URL delimiter, and will
never be included in auto-detected URLs.

This option does not affect OSC-8 URLs.

Closes #654
This commit is contained in:
Daniel Eklöf 2021-08-09 18:25:36 +02:00
parent f9ba2a8c5c
commit 0c03e9a766
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 119 additions and 46 deletions

View file

@ -151,6 +151,7 @@ struct config {
} osc8_underline;
wchar_t **protocols;
wchar_t *uri_characters;
size_t prot_count;
size_t max_prot_len;
} url;