diff --git a/examples/main.zig b/examples/main.zig index d6285e6..b820d3f 100644 --- a/examples/main.zig +++ b/examples/main.zig @@ -20,8 +20,8 @@ pub fn main() !void { // Start the read loop. This puts the terminal in raw mode and begins // reading user input - try vx.start(); - defer vx.stop(); + try vx.startReadThread(); + defer vx.stopReadThread(); // Optionally enter the alternate screen try vx.enterAltScreen();