aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-10-21 16:58:37 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-22 19:48:40 +0200
commitc9fd8bd23b633d254940c77e40bb280e2332b579 (patch)
tree342870e44f2d1bd5cdf17e546234d100ccd93c28 /editor.h
parent9f82217b491687f1b4ed1a4ee2ce84e8d90fc00a (diff)
downloadvis-c9fd8bd23b633d254940c77e40bb280e2332b579.tar.gz
vis-c9fd8bd23b633d254940c77e40bb280e2332b579.tar.xz
vis: pass editor instance to keyboard action functions
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index 71d7fc3..1cebfb0 100644
--- a/editor.h
+++ b/editor.h
@@ -31,7 +31,7 @@ typedef union {
typedef struct {
const char *name;
const char *help;
- const char* (*func)(const char *keys, const Arg*);
+ const char* (*func)(Vis*, const char *keys, const Arg*);
/* returns a pointer to the first not consumed character in keys
* or NULL if not enough input was available to complete the command */
const Arg arg;