This commit is contained in:
Henri Bourcereau 2025-02-08 08:52:01 +01:00
parent 52e400ca4b
commit 59c80c66e4
5 changed files with 14 additions and 5 deletions

View file

@ -37,9 +37,6 @@ fn main() -> Result<()> {
// Create an application.
let mut app = App::new(args);
if app.should_quit {
println!("{}", app.display());
}
// Start the main loop.
while !app.should_quit {
@ -49,6 +46,9 @@ fn main() -> Result<()> {
app.input(input.trim());
}
// display app final state
println!("{}", app.display());
Ok(())
}