diff options
author | Ashelyn Rose <git@ashen.earth> | 2025-02-28 21:52:16 -0700 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2025-02-28 21:52:16 -0700 |
commit | e9253bd959bf5bf6e8bcc6de4db247895b015a16 (patch) | |
tree | 1817aed80c8255d1292007a81e7f0a16138d25cc /src/main.rs | |
parent | 5cb49a76c2cedb500b82f405af3cf1dcc0507f98 (diff) |
Partial refactor
Handles message prefixes and autoproxy
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
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)); |