aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vis.h b/vis.h
index dc087f9..560e4d9 100644
--- a/vis.h
+++ b/vis.h
@@ -26,6 +26,7 @@ typedef union { /* various types of arguments passed to key action functions */
bool b;
int i;
const char *s;
+ const void *v;
void (*w)(View*);
void (*f)(Vis*);
} Arg;
@@ -39,7 +40,7 @@ typedef struct { /* a KeyAction can be bound to a key binding */
* to complete the action. In this case the function will be called again when more input
* becomes available */
const char* (*func)(Vis*, const char *keys, const Arg*);
- const Arg arg; /* additional arguments which will be passed as to func */
+ Arg arg; /* additional arguments which will be passed as to func */
} KeyAction;
typedef struct { /* a key binding either refers to an action or an alias */