diff options
Diffstat (limited to 'src/widget.rs')
-rw-r--r-- | src/widget.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs index 5cbcec6..dec2fa7 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -132,7 +132,8 @@ pub trait Widget { let buffer = self.get_drawlist(); write!(bufout, "{}{}", clear, buffer).unwrap(); - + bufout.flush(); + std::thread::sleep(pause); } |