From 5bd21b7ed468b5ff4d1a5b2ed7e211f401eb138a Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 1 Jun 2026 23:05:23 +0300 Subject: chore: update libghostty vendor refs #276 --- vendor/libghostty-vt/src/lib/main.zig | 1 + vendor/libghostty-vt/src/lib/types.zig | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'vendor/libghostty-vt/src/lib') 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, +}; -- cgit v1.2.3