From 2bbcc0a9aca11a418b8e51fd5d3158f2bc632d4b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 20 Nov 2026 00:30:35 -0300 Subject: tape: the calls out to the host by the Host table's own names, step 6a (the design of reports/pardes-handle-69-design.md, P33): Host gains what a call names, gives and gets, derived from its table (Fn, Args, Ret, has, mask, call), the tape one method, p.tape.host(p, .tty_taken, .{.at(id)}), whose absent arm is the caller's after orelse, and the 7 calls made straight on the table (hostForegroundName, hostTtyTaken, hostKillJob, Adopt, Upgrade, clockNow, askAhead) go through it; hostCall is the one body (the wrappers forward to it until 6c deletes them), its text in place; the tape's bytes do not move (semantics 32640d4a722b811c unmoved, cross_replay both ways) Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- core/Stream.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Stream.zig') diff --git a/core/Stream.zig b/core/Stream.zig index 5960d249..dae61a8b 100644 --- a/core/Stream.zig +++ b/core/Stream.zig @@ -343,7 +343,7 @@ pub fn paintAhead(p: *Pardes, serial: u32, revision: u32, path: []const u8, cont pub fn askAhead(p: *Pardes) void { const gen = p.stream.ahead_ask orelse return; p.stream.ahead_ask = null; - if (p.host.vtable.search) |f| f(p.host.ctx, gen); + _ = p.tape.host(p, .search, .{gen}); } /// A file's colours for the query rows that show its lines, the whole -- cgit v1.3