From e6612927bea46164b823e679b21790e8f1c5b396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 6 Feb 2021 20:11:31 +0100 Subject: [PATCH] url-mode: add ftp://, ftps://, file://, gemini:// and gopher:// --- url-mode.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/url-mode.c b/url-mode.c index e770aa9b..c631c323 100644 --- a/url-mode.c +++ b/url-mode.c @@ -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;