diff options
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.zig b/src/config.zig index 988f634d..66b11c72 100644 --- a/src/config.zig +++ b/src/config.zig @@ -217,8 +217,8 @@ pub const leader_path = paths: { table.set(.Unmount, null); } if (pardes.can_attach) { - table.set(.Attach, "sa"); table.set(.Detach, "sD"); + table.set(.Adopt, null); } if (builtins.Peek.enabled) { table.set(.Peek, null); @@ -2306,6 +2306,8 @@ test "docs/typ names only words, keys and default tags that exist" { var dir = try std.Io.Dir.cwd().openDir(io, @import("doc_typ").dir, .{ .iterate = true }); defer dir.close(io); var found: [3]std.ArrayList([]const u8) = @splat(.empty); + // The arena's: gone with this test, so no later test reads it. + defer doc_typ.other_build = ""; for ([_][]const u8{ "builtins-tty.json", "builtins-gui.json" }) |f| { const text = dir.readFileAlloc(io, f, gpa, .limited(1 << 20)) catch continue; doc_typ.other_build = try std.mem.concat(gpa, u8, &.{ doc_typ.other_build, text }); |
