diff options
| author | Josh Wainwright <josh.wainwright@ldra.com> | 2016-06-14 15:26:50 +0100 |
|---|---|---|
| committer | Josh Wainwright <josh.wainwright@ldra.com> | 2016-06-14 15:26:50 +0100 |
| commit | 15d6a96f83f9b7cc8d7cee5259a36ab49108dcaa (patch) | |
| tree | 3ae9253ba8da00857af3285448b2bc3761f13c50 /vis.c | |
| parent | c22fa0d326369dfa7dd375dc2c399df3d52330c9 (diff) | |
| download | vis-15d6a96f83f9b7cc8d7cee5259a36ab49108dcaa.tar.gz vis-15d6a96f83f9b7cc8d7cee5259a36ab49108dcaa.tar.xz | |
Update the statusline when starting or ending the recording of a macro
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1043,6 +1043,8 @@ bool vis_macro_record(Vis *vis, enum VisRegister id) { if (!(VIS_REG_A <= id && id <= VIS_REG_Z)) macro_reset(macro); vis->recording = macro; + if (vis->event && vis->event->win_status) + vis->event->win_status(vis, vis->win); return true; } @@ -1057,6 +1059,8 @@ bool vis_macro_record_stop(Vis *vis) { } vis->last_recording = vis->recording; vis->recording = NULL; + if (vis->event && vis->event->win_status) + vis->event->win_status(vis, vis->win); return true; } |
