aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2019-10-10 23:02:26 +0300
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-10-13 21:46:31 +0200
commitba7f4d69af62d20e13fea78a408095e017410651 (patch)
tree332669fc04751b43eae42cf8e074d394203f5f8d /st.h
parent2b8333f553c14c15398e810353e192eb05938580 (diff)
downloadst-ba7f4d69af62d20e13fea78a408095e017410651.tar.gz
st-ba7f4d69af62d20e13fea78a408095e017410651.tar.bz2
mouse shortcuts: allow same functions as kb shortcuts
Previously mouse shortcuts supported only ttywrite. This required adding an "Arg" function ttysend - which does what the original mouse shortcuts did.
Diffstat (limited to 'st.h')
-rw-r--r--st.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.h b/st.h
index 4da3051..a1928ca 100644
--- a/st.h
+++ b/st.h
@@ -74,6 +74,7 @@ typedef union {
uint ui;
float f;
const void *v;
+ const char *s;
} Arg;
void die(const char *, ...);