diff options
| -rw-r--r-- | src/buffer/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer/mod.rs b/src/buffer/mod.rs index 1d7d22e..59eb2f1 100644 --- a/src/buffer/mod.rs +++ b/src/buffer/mod.rs @@ -25,6 +25,7 @@ impl Client { Buffer::Threads(t) => t.fill_window(&mut window), } + write!(out, "{}", termion::clear::All).unwrap(); window.draw(out, Area { x: 1, y: 1, @@ -37,6 +38,7 @@ impl Client { w: size.0, h: 1, }).unwrap(); + out.flush().unwrap(); Self { window, |
