From 15d6a96f83f9b7cc8d7cee5259a36ab49108dcaa Mon Sep 17 00:00:00 2001 From: Josh Wainwright Date: Tue, 14 Jun 2016 15:26:50 +0100 Subject: Update the statusline when starting or ending the recording of a macro --- vis.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vis.c') diff --git a/vis.c b/vis.c index cdc3057..581adcd 100644 --- a/vis.c +++ b/vis.c @@ -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; } -- cgit v1.2.3