Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
29 lines
633 B
Rust
29 lines
633 B
Rust
mod app;
|
|
mod app_state;
|
|
mod buffers;
|
|
mod logging;
|
|
mod panels;
|
|
mod perf;
|
|
mod shortcuts;
|
|
mod ui_fonts;
|
|
|
|
use xserial_client::SessionManager;
|
|
|
|
fn main() {
|
|
tracing_subscriber::fmt()
|
|
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
|
|
.init();
|
|
|
|
let rt = tokio::runtime::Runtime::new().expect("tokio runtime");
|
|
let _guard = rt.enter();
|
|
|
|
let mgr = SessionManager::new();
|
|
let rx = mgr.subscribe();
|
|
|
|
let _ = eframe::run_native(
|
|
"xserial",
|
|
eframe::NativeOptions::default(),
|
|
Box::new(|cc| Ok(Box::new(app::XserialApp::new(mgr, rx, cc.egui_ctx.clone())))),
|
|
);
|
|
}
|