summaryrefslogtreecommitdiff
path: root/src/tape.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tape.zig')
-rw-r--r--src/tape.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tape.zig b/src/tape.zig
index eaf1a9fa..ec38deac 100644
--- a/src/tape.zig
+++ b/src/tape.zig
@@ -57,6 +57,9 @@ pub const Input = union(enum) {
acknowledge_panel_presentation: []const pardes.animation.Track,
run_closed_lines,
file_deleted: u8,
+ open_view,
+ close_view: u8,
+ to_view: u8,
};
/// The core's own syscalls (each `turn.yield()`s around itself), numbered
@@ -442,6 +445,9 @@ pub const Tape = struct {
.acknowledge_panel_presentation => |tracks| p.acknowledgePanelPresentation(tracks),
.run_closed_lines => pardes.ctlfs.runClosedLines(p),
.file_deleted => |id| pardes.panes.File.deleted(p, id),
+ .open_view => _ = p.openView(),
+ .close_view => |k| p.closeView(k),
+ .to_view => |k| p.toView(k),
}
t.finishInput();
}