github charmbracelet/bubbletea v0.12.5

latest releases: v2.0.0-alpha.2, v1.2.2, v1.2.1...
3 years ago

This big news in this release is that Bubble Tea will now automatically open a TTY for input (or a ConPTY on Windows) if input is not a terminal. In other words, if you pipe something into Bubble Tea, the keyboard and mouse will just work. Note that if you’re already specifying a custom input via tea.WithInput the Bubble Tea runtime will assume you have things under control and won't open a TTY/ConPTY.

Example of Bubble Tea working with piped input

New

  • If input is not a TTY, automatically open a TTY unless the user has explicitly specified a custom input

Fixed

  • Bubble Tea projects now build properly in Go 1.16. Previously building Bubble Tea on Go 1.16 meant running go mod tidy.

Thoughts? Questions? Feel free to reach out on Twitter and The Fediverse.

The Charm logo

Don't miss a new bubbletea release

NewReleases is sending notifications on new releases.