From 0529c8bc28cc7d95ad3693e7b00320c408bfaa59 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 27 Sep 2023 21:56:55 -0700 Subject: [PATCH] terminfo: increase buffer size for test --- src/terminfo/ghostty.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminfo/ghostty.zig b/src/terminfo/ghostty.zig index f5d667b10..f755d4c7c 100644 --- a/src/terminfo/ghostty.zig +++ b/src/terminfo/ghostty.zig @@ -361,7 +361,7 @@ pub const ghostty: Source = .{ test "encode" { // Encode - var buf: [4096]u8 = undefined; + var buf: [1024 * 16]u8 = undefined; var buf_stream = std.io.fixedBufferStream(&buf); try ghostty.encode(buf_stream.writer()); try std.testing.expect(buf_stream.getWritten().len > 0);