chore: sync changes with ghostty_string_s

pull/8886/head
CoderJoshDK 2025-09-24 17:47:24 -04:00
parent 79685f87c4
commit dc03a47558
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -353,7 +353,7 @@ typedef struct {
typedef struct {
const char* ptr;
uintptr_t len;
uintptr_t cap;
bool sentinel;
} ghostty_string_s;
typedef struct {

View File

@ -130,7 +130,6 @@ export fn ghostty_config_open_path() c.String {
return .empty;
};
// Capacity is len + 1 due to sentinel
return .fromSlice(path);
}