Files
bubbletea/renderer.go
Christian Rocha b3f62af8b5 Add nil renderer and combination TUI-daemon program example
The Nil Renderer essentially disables the Bubble Tea renderer sending
loggings and print statements to stdout. It can be enabled via the
ProgramOption WithoutRenderer.
2021-03-07 13:01:54 -05:00

10 lines
111 B
Go

package tea
type renderer interface {
start()
stop()
write(string)
altScreen() bool
setAltScreen(bool)
}