From 517628ced64421f17b59ab16e673ceb864bd545f Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Wed, 11 Dec 2024 00:04:13 +0200 Subject: [PATCH] clear display before emulation start --- src/emulator.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emulator.rs b/src/emulator.rs index 6e6c58a..7f4cda2 100644 --- a/src/emulator.rs +++ b/src/emulator.rs @@ -135,6 +135,9 @@ where let _ = tx.send(some_key); } }); + // clear display + self.display.clear(); + loop { let now = Instant::now(); let elapsed_time = now.duration_since(tick_timer);