release notes
release notes
release notes
Published 3/11/2021
MinorContains breaking changesrelease notes
Published 3/11/2021
MinorContains breaking changesThis release adds two new features as well as a few other small-ish improvements.
WithoutRenderer is a new program option that, when set, will tell Bubble Tea not to manage rendering. With the renderer disabled print and log statements will, by default, go straight to standard output. This opens up a few possibilities:
daemon-tui-combo example for an example implementation.stdout. See the daemon-tui-combo example for an example implementation.
Previously, you had to choose whether your application would be inline or fullscreen prior to starting your Bubble Tea program. Now you can jump in and out of the altscreen with the new EnterAltScreen and ExitAltScreen commands.

WithoutRenderer for disabling the Bubble Tea renderer in non-TTY, daemon and general-purpose application development contexts (details)EnterAltScreen and ExitAltScreen commands for jumping into and out of the alternate screen buffer (read: full window mode)Key now satisfies the Stringer interface (KeyMsg already did)(https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.13.0#KeyType)WithOutput now takes an io.Writer instead of an *os.FileKeyEnter) are now of type [KeyType]Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.
This release adds two new features as well as a few other small-ish improvements.
WithoutRenderer is a new program option that, when set, will tell Bubble Tea not to manage rendering. With the renderer disabled print and log statements will, by default, go straight to standard output. This opens up a few possibilities:
daemon-tui-combo example for an example implementation.stdout. See the daemon-tui-combo example for an example implementation.
Previously, you had to choose whether your application would be inline or fullscreen prior to starting your Bubble Tea program. Now you can jump in and out of the altscreen with the new EnterAltScreen and ExitAltScreen commands.

WithoutRenderer for disabling the Bubble Tea renderer in non-TTY, daemon and general-purpose application development contexts (details)EnterAltScreen and ExitAltScreen commands for jumping into and out of the alternate screen buffer (read: full window mode)Key now satisfies the Stringer interface (KeyMsg already did)(https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.13.0#KeyType)WithOutput now takes an io.Writer instead of an *os.FileKeyEnter) are now of type [KeyType]Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.