t* st + patches and config URI git clone git://git.codevoid.de/st-sdk DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 753a663ac03203bd9352ef5ce0f8321fbef19fc9 DIR parent 9e80d3d24ddcc46b9a7b6a0d00d61c68f339dc3b URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de> Date: Sat, 26 May 2018 20:55:31 +0200 Copyurl learns ftp and gopher Diffstat: M st.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/st.c b/st.c t@@ -2729,7 +2729,9 @@ copyurl(const Arg *arg) { } linestr[term.col] = '\0'; if ((match = strstr(linestr, "http://")) - || (match = strstr(linestr, "https://"))) + || (match = strstr(linestr, "https://")) + || (match = strstr(linestr, "ftp://")) + || (match = strstr(linestr, "gopher://"))) break; if (--row < term.top) row = term.bot;