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.
This commit is contained in:
Avi Halachmi (:avih)
2019-10-10 23:02:26 +03:00
committed by Hiltjo Posthuma
parent 2b8333f553
commit ba7f4d69af
3 changed files with 18 additions and 9 deletions

1
st.h
View File

@ -74,6 +74,7 @@ typedef union {
uint ui;
float f;
const void *v;
const char *s;
} Arg;
void die(const char *, ...);