Add descriptions to commands and improve REPL display formatting
This commit is contained in:
parent
11dd39349d
commit
7846128567
7 changed files with 323 additions and 292 deletions
|
@ -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)?)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue