From 41dd733ca7123c9ac4bfc6c781697a660e95b052 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sat, 4 Apr 2026 19:22:04 +0300 Subject: feat: finish ghostty pane backend integration --- vendor/libghostty-vt/pkg/wuffs/src/main.zig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vendor/libghostty-vt/pkg/wuffs/src/main.zig (limited to 'vendor/libghostty-vt/pkg/wuffs/src/main.zig') diff --git a/vendor/libghostty-vt/pkg/wuffs/src/main.zig b/vendor/libghostty-vt/pkg/wuffs/src/main.zig new file mode 100644 index 00000000..207d83f9 --- /dev/null +++ b/vendor/libghostty-vt/pkg/wuffs/src/main.zig @@ -0,0 +1,20 @@ +const std = @import("std"); + +pub const png = @import("png.zig"); +pub const jpeg = @import("jpeg.zig"); +pub const swizzle = @import("swizzle.zig"); +pub const Error = @import("error.zig").Error; + +/// The maximum image size, based on the 4G limit of Ghostty's +/// `image-storage-limit` config. +pub const maximum_image_size = 4 * 1024 * 1024 * 1024; + +pub const ImageData = struct { + width: u32, + height: u32, + data: []u8, +}; + +test { + std.testing.refAllDeclsRecursive(@This()); +} -- cgit v1.2.3