example: s/start/startReadThread s/stop/stopReadThread
This commit is contained in:
parent
f84bad6420
commit
b7d7ba6b36
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue