From 23935c3563aa722c3ef5e251355e970509376add Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 7 Aug 2023 16:16:44 -0700 Subject: [PATCH] change sentinel value for resources dir, its different on Linux --- src/termio/Exec.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index a8004b2d1..08808e3f8 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -870,7 +870,7 @@ const Subprocess = struct { fn resourcesDir(alloc: Allocator) !?[]const u8 { // This is the sentinel value we look for in the path to know // we've found the resources directory. - const sentinel = "terminfo/67/ghostty"; + const sentinel = "terminfo/ghostty.termcap"; // Get the path to our running binary var exe_buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;