summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 2058faf..c795e1c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -63,8 +63,8 @@ fn main() {
         join_handles.push((system_name.clone(), handle));
     }
 
-    crossterm::execute!(io::stdout(), EnterAlternateScreen).unwrap();
-    crossterm::execute!(io::stdout(), DisableLineWrap).unwrap();
+    // crossterm::execute!(io::stdout(), EnterAlternateScreen).unwrap();
+    // crossterm::execute!(io::stdout(), DisableLineWrap).unwrap();
 
     loop {
         // Wait for an event from one of the threads
@@ -199,8 +199,7 @@ fn spawn_system(system_name : &String, system_config: config::System, waker: mps
             let dup_waker = waker.clone();
 
             thread_local_runtime.block_on(async {
-                let mut system = Manager::new(name.clone(), config, waker);
-                system.start_clients().await;
+                Manager::start(name.clone(), config, waker).await;
             });
 
             let _ = dup_waker.send((name, SystemUiEvent::SystemClose));