diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-01 23:05:23 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-01 23:05:51 +0300 |
| commit | 5bd21b7ed468b5ff4d1a5b2ed7e211f401eb138a (patch) | |
| tree | 672fa4625cca0ecb3e9376fc7f8e33d7b0e9deef /vendor/libghostty-vt/src/lib | |
| parent | 32abb3776668ee768200019c170956f67fe33a86 (diff) | |
chore: update libghostty vendor
refs #276
Diffstat (limited to 'vendor/libghostty-vt/src/lib')
| -rw-r--r-- | vendor/libghostty-vt/src/lib/main.zig | 1 | ||||
| -rw-r--r-- | vendor/libghostty-vt/src/lib/types.zig | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/lib/main.zig b/vendor/libghostty-vt/src/lib/main.zig index 05ebe9bd..b22b3d98 100644 --- a/vendor/libghostty-vt/src/lib/main.zig +++ b/vendor/libghostty-vt/src/lib/main.zig @@ -5,6 +5,7 @@ const types = @import("types.zig"); const unionpkg = @import("union.zig"); pub const allocator = @import("allocator.zig"); +pub const Buffer = types.Buffer; pub const Enum = enumpkg.Enum; pub const checkGhosttyHEnum = enumpkg.checkGhosttyHEnum; pub const String = types.String; diff --git a/vendor/libghostty-vt/src/lib/types.zig b/vendor/libghostty-vt/src/lib/types.zig index 758540d1..655fdc22 100644 --- a/vendor/libghostty-vt/src/lib/types.zig +++ b/vendor/libghostty-vt/src/lib/types.zig @@ -11,3 +11,9 @@ pub const String = extern struct { }; } }; + +pub const Buffer = extern struct { + ptr: ?[*]u8 = null, + cap: usize = 0, + len: usize = 0, +}; |
