Loop through urls on screen and copy to clipboard

Replace url detection heuristics with a DFA, enabling urls that span
multiple lines. Also fix the selection not to use snapping so that urls
are selected exactly.
This commit is contained in:
Santtu Lakkala
2022-02-16 20:34:20 +02:00
committed by Anthony Debucquoy
parent 5bfe4b3592
commit 77ce1529ac
3 changed files with 95 additions and 0 deletions

1
st.h
View File

@@ -87,6 +87,7 @@ void printscreen(const Arg *);
void printsel(const Arg *);
void sendbreak(const Arg *);
void toggleprinter(const Arg *);
void copyurl(const Arg *);
int tattrset(int);
void tnew(int, int);