mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Force a full repaint when resizing the window
v0.13.4 introduced a regression where lines weren't always cleared when resizing the window resulting in the presence of rendering artifacts. This commit fixes that.
This commit is contained in:
@@ -202,6 +202,10 @@ func (r *standardRenderer) write(s string) {
|
||||
_, _ = r.buf.WriteString(s)
|
||||
}
|
||||
|
||||
func (r *standardRenderer) repaint() {
|
||||
r.lastRender = ""
|
||||
}
|
||||
|
||||
func (r *standardRenderer) altScreen() bool {
|
||||
return r.altScreenActive
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user