mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-29 06:46:35 -04:00
url-mode: add ‘<’ and ‘>’ to the list of valid URL characters
This commit is contained in:
parent
566e083a06
commit
ee07628291
2 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,8 @@
|
||||||
* Foot now sends `SIGTERM`/`SIGKILL` to the client application’s process group,
|
* Foot now sends `SIGTERM`/`SIGKILL` to the client application’s process group,
|
||||||
instead of just to the client application’s process.
|
instead of just to the client application’s process.
|
||||||
* `kmous` terminfo capability from `\E[M` to `\E[<`.
|
* `kmous` terminfo capability from `\E[M` to `\E[<`.
|
||||||
|
* `<` and `>` are now recognized as valid URL characters
|
||||||
|
(https://codeberg.org/dnkl/foot/issues/654).
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
||||||
|
|
@ -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'&': 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;
|
url[len++] = wc;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue