summaryrefslogtreecommitdiff
path: root/abi/term.zig
diff options
context:
space:
mode:
Diffstat (limited to 'abi/term.zig')
-rw-r--r--abi/term.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/abi/term.zig b/abi/term.zig
index c437f62f..68434e8e 100644
--- a/abi/term.zig
+++ b/abi/term.zig
@@ -343,6 +343,9 @@ pub const Ops = struct {
snapshot: *const fn (s: *const State, gpa: std.mem.Allocator, w: *std.Io.Writer, slim: bool) anyerror!void,
/// `snapshot`'s bytes and `parts` back into a new terminal.
load: *const fn (gpa: std.mem.Allocator, snapshot: []const u8, parts: *const Parts) anyerror!*State,
+ /// Its emulator made again from its own snapshot where it is (a join:
+ /// every side does it); the snapshot's hash.
+ reload: *const fn (s: *State) anyerror!u64,
// ---- output and view ----
/// One read of its program's output (`Told` says where the tracked