+1
-1
src/tty.zig
+1
-1
src/tty.zig
···
733
733
writer: *std.io.Writer.Allocating,
734
734
735
735
/// Initializes a TestTty.
736
-
pub fn init() !TestTty {
736
+
pub fn init(buffer: []u8) !TestTty {
737
737
if (builtin.os.tag == .windows) return error.SkipZigTest;
738
738
const list = try std.testing.allocator.create(std.io.Writer.Allocating);
739
739
list.* = .init(std.testing.allocator);