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:
parent
2b8333f553
commit
ba7f4d69af
3 changed files with 18 additions and 9 deletions
1
st.h
1
st.h
|
@ -74,6 +74,7 @@ typedef union {
|
|||
uint ui;
|
||||
float f;
|
||||
const void *v;
|
||||
const char *s;
|
||||
} Arg;
|
||||
|
||||
void die(const char *, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue