diff --git a/screen.go b/screen.go index 20847fd..faa91cc 100644 --- a/screen.go +++ b/screen.go @@ -119,6 +119,8 @@ func (s *Screen) drawloop() { if s.buf == nil || s.buf.Width() != w || s.buf.Height() != h { s.buf = buf2d.NewBuffer(w, h, DefaultRune) + } else { + s.buf.Fill(DefaultRune) } rw, rh := s.Root.Layout()