···390390 foo: u8,
391391 };
392392393393- var tty = try vaxis.Tty.init();
393393+ var tty = try vaxis.Tty.init(&.{});
394394 defer tty.deinit();
395395396396 var vx = try vaxis.init(std.testing.allocator, .{});
+1-1
src/main.zig
···67676868/// Resets the terminal state using the global tty instance. Use this only to recover during a panic
6969pub fn recover() void {
7070- if (tty.global_tty) |gty| {
7070+ if (tty.global_tty) |*gty| {
7171 const reset: []const u8 = ctlseqs.csi_u_pop ++
7272 ctlseqs.mouse_reset ++
7373 ctlseqs.bp_reset ++