fix flicker

This commit is contained in:
Peter Bartyik 2020-07-09 20:04:01 +02:00 committed by Ferran Basora
parent 59b4a769b8
commit a36d30594c

View File

@ -242,6 +242,7 @@ impl<'a> View<'a> {
_ => { _ => {
// Nothing in the buffer. Wait for a bit... // Nothing in the buffer. Wait for a bit...
std::thread::sleep(std::time::Duration::from_millis(100)); std::thread::sleep(std::time::Duration::from_millis(100));
continue; // don't render again if nothing new to show
} }
} }