diff options
author | Tim Keller <tjkeller.xyz> | 2025-01-12 15:48:55 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-01-12 15:48:55 -0600 |
commit | 8e8bb251ad14377a579dca4daf05ecd2b1efe4d4 (patch) | |
tree | 5ca91f27ecdb583a71d40f54f80a039acc43f537 | |
parent | 1f166193fdae70800f0764cdce64eb9924013d1b (diff) | |
download | st-tj-0.9.2.2.tar.xz st-tj-0.9.2.2.zip |
rename copyurl to selurltj-0.9.2.2
-rw-r--r-- | PATCHES | 2 | ||||
-rw-r--r-- | config.def.h | 4 | ||||
-rw-r--r-- | st.c | 2 | ||||
-rw-r--r-- | st.h | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ st-boxdraw_v2-0.8.5.diff st-clipboard-20180309-c5ba9c0.diff -st-copyurl-multiline-20230406-211964d.diff (modified to not copy url, just highlight it) +st-copyurl-multiline-20230406-211964d.diff (modified to not copy url, just highlight it. func renamed to selurl) st-csi_22_23-0.8.5.diff st-desktopentry-0.8.5.diff st-drag-n-drop-0.9.2.diff diff --git a/config.def.h b/config.def.h index d9ce6cc..77e09e4 100644 --- a/config.def.h +++ b/config.def.h @@ -225,8 +225,8 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, - { MODKEY, XK_l, copyurl, {.i = 0} }, - { MODKEY|ShiftMask, XK_L, copyurl, {.i = 1} }, + { MODKEY, XK_l, selurl, {.i = 0} }, + { MODKEY|ShiftMask, XK_L, selurl, {.i = 1} }, { TERMMOD, XK_l, selopen, {.i = 0} }, { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, @@ -3256,7 +3256,7 @@ daddch(URLdfa *dfa, char c) ** Select and copy the previous url on screen (do nothing if there's no url). */ void -copyurl(const Arg *arg) { +selurl(const Arg *arg) { int row = 0, /* row of current URL */ col = 0, /* column of current URL start */ colend = 0, /* column of last occurrence */ @@ -97,7 +97,7 @@ void printscreen(const Arg *); void printsel(const Arg *); void sendbreak(const Arg *); void toggleprinter(const Arg *); -void copyurl(const Arg *); +void selurl(const Arg *); int tattrset(int); void tnew(int, int); |