diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d971660..3ee7fa48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ * Foot now sends `SIGTERM`/`SIGKILL` to the client application’s process group, instead of just to the client application’s 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 diff --git a/url-mode.c b/url-mode.c index a802cc6c..0efb3ad6 100644 --- a/url-mode.c +++ b/url-mode.c @@ -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;