url-mode: add ftp://, ftps://, file://, gemini:// and gopher://

This commit is contained in:
Daniel Eklöf 2021-02-06 20:11:31 +01:00
parent a988138492
commit e6612927be
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -146,6 +146,11 @@ auto_detected(const struct terminal *term, enum url_action action, url_list_t *u
static const wchar_t *const prots[] = {
L"http://",
L"https://",
L"ftp://",
L"ftps://",
L"file://",
L"gemini://",
L"gopher://",
};
size_t max_prot_len = 0;