Function mterm::run [−][src]
pub fn run(app: Box<dyn App>, builder: Builder) -> Result<()>
Expand description
Start the main loop.
This function does not exit unless an error occurs during start up.
Arguments
- app - An object that implements the App trait.
mterm
will call the App methods to allow it to run logic and control presentation. - builder - An instance of
Builder
to provide configuration information for the window.
Returns
Returns a TermResult
.