Hide cursor in engine and crossterm in prelude
This commit is contained in:
@@ -80,6 +80,8 @@ impl Engine for Console {
|
||||
}
|
||||
|
||||
fn init<C: ComponentImpl + 'static>(&self, component: C) -> Arc<Context> {
|
||||
crossterm::execute!(std::io::stdout(), crossterm::cursor::Hide).unwrap();
|
||||
|
||||
let cx = Context::new(component, self.executor.clone());
|
||||
cx.refresh();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user