summaryrefslogtreecommitdiff
path: root/core/Stream.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Stream.zig')
-rw-r--r--core/Stream.zig2
1 files changed, 1 insertions, 1 deletions
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