From 4aecc983c0d1487fe0e51258abf5add3e9eeef51 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 8 Dec 2025 13:50:09 +0100 Subject: [PATCH] fix: increase our GraphemeCache instead of libvaxis --- build.zig.zon | 4 ++-- src/renderer/vaxis/Plane.zig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index bb542c5..25ebca8 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -30,8 +30,8 @@ .hash = "fuzzig-0.1.1-Ji0xivxIAQBD0g8O_NV_0foqoPf3elsg9Sc3pNfdVH4D", }, .vaxis = .{ - .url = "git+https://github.com/neurocyte/libvaxis?ref=main#035457cdb54f4c12caae6638b837c447447ae70d", - .hash = "vaxis-0.5.1-BWNV_NAyCQBgEcQ3hBKEqyWOJh4uDSm4mPvffsI10J5i", + .url = "git+https://github.com/neurocyte/libvaxis?ref=main#164dfadbad9a5df529ade8e3f0e5c52939d27e81", + .hash = "vaxis-0.5.1-BWNV_M4yCQBLJYI9ooJL-8dstYnId58coiBeHhF4m9wz", }, .zeit = .{ .url = "git+https://github.com/rockorager/zeit?ref=zig-0.15#ed2ca60db118414bda2b12df2039e33bad3b0b88", diff --git a/src/renderer/vaxis/Plane.zig b/src/renderer/vaxis/Plane.zig index b59b1f6..50fcf1e 100644 --- a/src/renderer/vaxis/Plane.zig +++ b/src/renderer/vaxis/Plane.zig @@ -501,7 +501,7 @@ pub fn metrics(self: *const Plane, tab_width: usize) Buffer.Metrics { } const GraphemeCache = struct { - buf: [1024 * 16]u8 = undefined, + buf: [1024 * 32]u8 = undefined, idx: usize = 0, pub fn put(self: *GraphemeCache, bytes: []const u8) []u8 {