[−][src]Function bracket_lib::prelude::main_loop
pub fn main_loop<GS>(
bterm: BTerm,
gamestate: GS
) -> Result<(), Box<dyn Error + 'static + Sync + Send>> where
GS: GameState,
Runs the BTerm application, calling into the provided gamestate handler every tick.