diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-26 22:15:27 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-27 11:13:07 +0100 |
| commit | 84951cfd2ae9ddaa0a317e6f9819254e0861953c (patch) | |
| tree | 42ce7353fa453ad01b8b050c3463b51548beec5b /vis.c | |
| parent | 6a7e5a3cfc86db049f595bd20d20041d7346e4ef (diff) | |
| download | vis-84951cfd2ae9ddaa0a317e6f9819254e0861953c.tar.gz vis-84951cfd2ae9ddaa0a317e6f9819254e0861953c.tar.xz | |
vis: introduce vis_macro_recording API
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2979,6 +2979,10 @@ bool vis_macro_record_stop(Vis *vis) { return true; } +bool vis_macro_recording(Vis *vis) { + return vis->recording; +} + bool vis_macro_replay(Vis *vis, enum VisMacro id) { Macro *macro = macro_get(vis, id); if (!macro || macro == vis->recording) |
