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/src/stb/stb.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vendor/libghostty-vt/src/stb/stb.c (limited to 'vendor/libghostty-vt/src/stb/stb.c') diff --git a/vendor/libghostty-vt/src/stb/stb.c b/vendor/libghostty-vt/src/stb/stb.c new file mode 100644 index 00000000..68c4c225 --- /dev/null +++ b/vendor/libghostty-vt/src/stb/stb.c @@ -0,0 +1,13 @@ +// For STBI we only need PNG because the only use case we have right now +// is the Kitty Graphics protocol which only supports PNG as a format +// besides raw RGB/RGBA buffers. +#define STBI_ONLY_PNG + +// We don't want to support super large images. +#define STBI_MAX_DIMENSIONS 131072 + +#define STB_IMAGE_IMPLEMENTATION +#include + +#define STB_IMAGE_RESIZE_IMPLEMENTATION +#include -- cgit v1.2.3