summaryrefslogtreecommitdiff
path: root/src/tape.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tape.zig')
-rw-r--r--src/tape.zig13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/tape.zig b/src/tape.zig
index 380cf14e..ad5a1c04 100644
--- a/src/tape.zig
+++ b/src/tape.zig
@@ -61,7 +61,7 @@ pub const Input = union(enum) {
reload_watched_file: struct { id: u8, bytes: []const u8 },
note_late_failure: usize,
invalidate,
- acknowledge_panel_presentation: []const pardes.animation.Track,
+ presented,
run_closed_lines,
file_deleted: u8,
open_view,
@@ -109,7 +109,6 @@ pub const Site = enum(u16) {
shell,
mtime,
cwd,
- pointer,
/// What a terminal's ingest told the positions pardes keeps over it.
positions,
/// Whether a terminal is at its prompt, as a step reads it after its
@@ -131,9 +130,9 @@ pub const results = .{
u32, i64,
[8]u8, ?u64,
[]const u8, ?[]const u8,
- ?std.Io.File.Kind, ?pardes.Presentation.CellPosition,
- ?pardes.filesystem.Resolved, pardes.filesystem.OsReadWrite,
- anyerror!pardes.filesystem.OsStat, anyerror![]const u8,
+ ?std.Io.File.Kind, ?pardes.filesystem.Resolved,
+ pardes.filesystem.OsReadWrite, anyerror!pardes.filesystem.OsStat,
+ anyerror![]const u8,
anyerror![]u8, anyerror!void,
terminal.Told, ?pardes.ctlfs.pty.Printed,
@typeInfo(@TypeOf(terminal.greeting)).@"fn".return_type.?,
@@ -391,7 +390,7 @@ pub const Tape = struct {
/// A host call the headless replica does not make (it draws no frame,
/// so presents none): what the host told the core inside it (what it
- /// presented, `acknowledge_panel_presentation`) is applied all the
+ /// presented, `presented`) is applied all the
/// same, the host's own calls below it stepped over.
fn skipHost(t: *Tape) void {
while (t.diverged == null) {
@@ -618,7 +617,7 @@ pub const Tape = struct {
.reload_watched_file => |a| _ = p.reloadWatchedFile(a.id, a.bytes),
.note_late_failure => |id| p.noteLateFailure(id),
.invalidate => p.invalidate(),
- .acknowledge_panel_presentation => |tracks| p.acknowledgePanelPresentation(tracks),
+ .presented => p.presented(),
.run_closed_lines => pardes.ctlfs.runClosedLines(p),
.file_deleted => |id| pardes.panes.File.deleted(p, id),
.open_view => _ = p.openView(),