Hide cursor in engine and crossterm in prelude

This commit is contained in:
2026-01-31 00:23:10 +01:00
parent 85342d641f
commit e5812315c6
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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();