From c9fd8bd23b633d254940c77e40bb280e2332b579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 21 Oct 2015 16:58:37 +0200 Subject: vis: pass editor instance to keyboard action functions --- editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor.h') 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; -- cgit v1.2.3