example: s/start/startReadThread s/stop/stopReadThread

This commit is contained in:
00JCIV00 2024-02-24 10:04:20 -05:00 committed by Tim Culverhouse
parent f84bad6420
commit b7d7ba6b36

View file

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