mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
url-mode: add ftp://, ftps://, file://, gemini:// and gopher://
This commit is contained in:
parent
a988138492
commit
e6612927be
1 changed files with 5 additions and 0 deletions
|
|
@ -146,6 +146,11 @@ auto_detected(const struct terminal *term, enum url_action action, url_list_t *u
|
||||||
static const wchar_t *const prots[] = {
|
static const wchar_t *const prots[] = {
|
||||||
L"http://",
|
L"http://",
|
||||||
L"https://",
|
L"https://",
|
||||||
|
L"ftp://",
|
||||||
|
L"ftps://",
|
||||||
|
L"file://",
|
||||||
|
L"gemini://",
|
||||||
|
L"gopher://",
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t max_prot_len = 0;
|
size_t max_prot_len = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue