start program without spawning thread so screen works on mac. improve mouse demo
This commit is contained in:
@@ -148,9 +148,8 @@ fn main() -> anyhow::Result<()> {
|
||||
let mut thread = RunThread::new(ThreadToken(0), None, parsed.clone(), Addr(0), args);
|
||||
thread.set_speed(config.cycle_time);
|
||||
|
||||
let a = thread.start();
|
||||
// ...
|
||||
let _ = a.join();
|
||||
// run without spawning, so it is on the main thread - required by some extensions
|
||||
thread.run();
|
||||
|
||||
info!("Runtime shut down.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user