fix: deinit TTY to avoid stair-stepped output
This commit is contained in:
parent
975dd01a77
commit
f25a9b9660
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ pub fn main() !void {
|
||||||
const alloc = gpa.allocator();
|
const alloc = gpa.allocator();
|
||||||
|
|
||||||
var tty = try vaxis.Tty.init();
|
var tty = try vaxis.Tty.init();
|
||||||
|
defer tty.deinit();
|
||||||
|
|
||||||
var vx = try vaxis.init(alloc, .{});
|
var vx = try vaxis.init(alloc, .{});
|
||||||
defer vx.deinit(alloc, tty.anyWriter());
|
defer vx.deinit(alloc, tty.anyWriter());
|
||||||
|
|
Loading…
Reference in a new issue