examples(table): add intrusive init on Loop
This commit is contained in:
parent
e44c578649
commit
2f46eb9172
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ pub fn main() !void {
|
|||
key_press: vaxis.Key,
|
||||
winsize: vaxis.Winsize,
|
||||
}) = .{ .tty = &tty, .vaxis = &vx };
|
||||
try loop.init();
|
||||
|
||||
try loop.start();
|
||||
defer loop.stop();
|
||||
|
|
Loading…
Add table
Reference in a new issue