aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index 3454bd4..26f07e8 100644
--- a/editor.h
+++ b/editor.h
@@ -7,6 +7,7 @@
#include <setjmp.h>
typedef struct Editor Editor;
+typedef Editor Vis;
typedef struct File File;
typedef struct Win Win;
@@ -77,7 +78,7 @@ typedef struct {
} OperatorContext;
typedef struct {
- size_t (*func)(OperatorContext*); /* operator logic, returns new cursor position */
+ size_t (*func)(Vis*, Text*, OperatorContext*); /* operator logic, returns new cursor position */
} Operator;
typedef struct {