bubbletea/renderer.go
Christian Rocha 3256fae4d4 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.
2021-05-31 10:37:32 -04:00

12 lines
177 B
Go

package tea
// renderer is the interface for Bubble Tea renderers.
type renderer interface {
start()
stop()
write(string)
repaint()
altScreen() bool
setAltScreen(bool)
}