summaryrefslogtreecommitdiff
path: root/src/Effect.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Effect.zig')
-rw-r--r--src/Effect.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Effect.zig b/src/Effect.zig
index a97a280c..2af28dd7 100644
--- a/src/Effect.zig
+++ b/src/Effect.zig
@@ -244,7 +244,7 @@ pub fn perform(p: *Pardes, e: Effect) void {
.addon => |a| if (!tape.replaying()) @import("Addon.zig").perform(p, a.op, a.pane, a.arg.slice()),
.job => |j| if (v.job) |f| f(p.host.ctx, j.pane, j.serial, j.token) else if (!tape.replaying()) host_io.KindJob.runHere(p, j.pane, j.serial, j.token),
// the loop's own condition; a host tears down after its own loop
- .quit => p.quit = true,
+ .quit => p.endSession(),
}
}
@@ -610,7 +610,7 @@ test "Save reaches every tagline with text behind it and no other" {
// A scratch is an output buffer that wears the FILE tails.
out.file.?.output = .{ .from = .{ .cmd = std.meta.stringToEnum(pardes.Builtin, "New").? } };
- try std.testing.expectEqualStrings(" Save Term Collapse Del", tagline.curTail(out));
+ try std.testing.expectEqualStrings(" Save Term Collapse Follow Del", tagline.curTail(out));
// An image's bytes on disk already are what they are: nothing of the
// pane's own is unwritten, so the word is absent and inert.