summaryrefslogtreecommitdiff
path: root/core/Effect.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Effect.zig')
-rw-r--r--core/Effect.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Effect.zig b/core/Effect.zig
index a6fcc0e5..cabfe8ea 100644
--- a/core/Effect.zig
+++ b/core/Effect.zig
@@ -213,7 +213,7 @@ fn performInner(p: *Pardes, e: Effect) void {
// No workers here (a test, a board): it runs on the loop.
.search => |q| p.tape.host(p, .search, .{q.gen}) orelse Stream.runHere(p, q.gen, false),
// No windows here (a test, the tty): it stays.
- .hand_over => |h| if (p.host.has(.hand_over)) {
+ .hand_over => |h| if (p.tape.has(p, .hand_over)) {
if (p.handover.bytes) |bytes| _ = p.tape.host(p, .hand_over, .{ h.seq, bytes });
} else p.update(.{ .handed = .{ .seq = h.seq, .failure = "no other windows here" } }),
.edit_write => {