diff options
Diffstat (limited to 'core/Core.zig')
| -rw-r--r-- | core/Core.zig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/Core.zig b/core/Core.zig index b4745b24..9684de26 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -514,16 +514,17 @@ pub const perform = @import("Effect.zig").perform; /// second copy of this drifted once, leaving restored tags without an /// allocator and every 9P mtime 0. pub fn create(gpa: std.mem.Allocator, opts: Options) !*Pardes { + // The global still set beside the field (P20): a core made while + // a tape records (PARDES_RECORD, a replica's step) is its. + const tape = opts.tape orelse pardes.tape.on orelse &pardes.tape.none; const p = try gpa.create(Pardes); p.* = .{ .gpa = gpa, .image_gpa = opts.image_allocator orelse gpa, - .kinds = .started(opts.addons), + .kinds = .started(tape, opts.addons), .tree_sitter_gpa = opts.tree_sitter_allocator orelse gpa, .opts = opts, - // The global still set beside the field (P20): a core made while - // a tape records (PARDES_RECORD, a replica's step) is its. - .tape = opts.tape orelse pardes.tape.on orelse &pardes.tape.none, + .tape = tape, .tty_toggle = opts.tty_toggle, .views = .{ View{ .frontend = .{ .windowed = opts.windowed }, |
