Add descriptions to commands and improve REPL display formatting

This commit is contained in:
Jason Spalti 2024-12-01 23:52:12 -06:00 committed by BitSyndicate
parent 7ceaa5e177
commit 3ea44c9429
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 443E4198D6BBA6DE
7 changed files with 323 additions and 292 deletions

View file

@ -1,16 +1,14 @@
pub mod commands;
pub mod repl;
pub mod splash;
pub mod renderer;
pub mod repl;
use anyhow::Result;
use renderer::App;
use winit::event_loop::{ControlFlow, EventLoop};
pub fn init_renderer() -> Result<()> {
let event_loop = EventLoop::new().unwrap();
event_loop.set_control_flow(ControlFlow::Poll);
let mut app = App::default();
Ok(event_loop.run_app(&mut app)?)
}
}