Merge remote-tracking branch 'origin/main' into shaping-positions

pull/9883/head
Jacob Sandlund 2025-12-17 10:02:06 -05:00
commit aecdacbe49
1 changed files with 6 additions and 0 deletions

View File

@ -2048,6 +2048,12 @@ fn resolvePathForOpening(
};
const resolved = try std.fs.path.resolve(self.alloc, &.{ terminal_pwd, path });
std.fs.accessAbsolute(resolved, .{}) catch {
self.alloc.free(resolved);
return null;
};
return resolved;
}