summaryrefslogtreecommitdiff
path: root/src/rollback.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/rollback.zig')
-rw-r--r--src/rollback.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rollback.zig b/src/rollback.zig
index 37fc481d..6496a69f 100644
--- a/src/rollback.zig
+++ b/src/rollback.zig
@@ -415,10 +415,11 @@ fn annotatedStruct(comptime T: type) bool {
/// is taken: what is in their slots is nothing), the frame statistics
/// (numbers, and a static name), and the rows a terminal was last read as
/// (a grid's worth of text, emptied when a copy is taken and when it is
-/// put back: src/replica.zig).
+/// put back: src/replica.zig), and a replica's predicted echo (src/echo.zig:
+/// the replica's, never its core's).
fn unsaved(comptime name: []const u8) bool {
return std.mem.eql(u8, name, "effects") or std.mem.eql(u8, name, "in_q") or std.mem.eql(u8, name, "frames") or
- std.mem.eql(u8, name, "shell_rows");
+ std.mem.eql(u8, name, "shell_rows") or std.mem.eql(u8, name, "echo");
}
fn annotated(comptime T: type, comptime kind: []const u8, comptime name: []const u8) bool {