url-mode: add ‘<’ and ‘>’ to the list of valid URL characters

This commit is contained in:
Daniel Eklöf 2021-07-28 11:53:57 +02:00
parent 566e083a06
commit ee07628291
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 3 additions and 0 deletions

View file

@ -54,6 +54,8 @@
* Foot now sends `SIGTERM`/`SIGKILL` to the client applications process group,
instead of just to the client applications process.
* `kmous` terminfo capability from `\E[M` to `\E[<`.
* `<` and `>` are now recognized as valid URL characters
(https://codeberg.org/dnkl/foot/issues/654).
### Deprecated

View file

@ -288,6 +288,7 @@ auto_detected(const struct terminal *term, enum url_action action,
case L'/': case L'?': case L'#': case L'@': case L'!':
case L'$': case L'&': case L'\'': case L'*': case L'+':
case L',': case L';': case L'=': case L'"': case L'%':
case L'<': case L'>':
url[len++] = wc;
break;