fix: deinit TTY to avoid stair-stepped output

This commit is contained in:
Rylee Lyman 2024-06-13 15:31:42 -04:00 committed by Tim Culverhouse
parent 975dd01a77
commit f25a9b9660

View file

@ -56,6 +56,7 @@ pub fn main() !void {
const alloc = gpa.allocator();
var tty = try vaxis.Tty.init();
defer tty.deinit();
var vx = try vaxis.init(alloc, .{});
defer vx.deinit(alloc, tty.anyWriter());