diff options
| -rw-r--r-- | editor.h | 1 | ||||
| -rw-r--r-- | vis.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -67,6 +67,7 @@ typedef struct { size_t pos; /* at which byte from the start of the file should the operation start? */ bool linewise; /* should the changes always affect whole lines? */ const Arg *arg; /* arbitrary arguments */ + Cursor *cursor; /* cursor (if any) which issued this operator */ } OperatorContext; typedef struct { @@ -1353,6 +1353,7 @@ static void action_do(Action *a) { .reg = reg, .linewise = a->linewise, .arg = &a->arg, + .cursor = cursor, }; if (a->movement) { |
