Unmanaged Output
Now you can print unmanaged output above your inline applications. This means you can print stuff above your app that won't be cleared on the next render. It’s super useful for cases where you want to build an apt
-like package manager.
Let’s Print
This release introduces two new Cmd
s that print output above your inline Bubble Tea program:
tea.Println("Hello, Bubble Tea")
tea.Printf("%s, %s", "Hello", "Bubble Tea")
Use it anytime you want to add log-type info to the terminal’s scrollback buffer, such as building your own package manager 📦. And keep in mind that these methods are no-op’s in altscreen mode.
For details see the full example and the docs.
🤗 Thanks
@fiws has been bugging us to implement this forever and then @Adjective-Object swooped in and did it with style and grace! It’s been a great collaboration all around.
Changelog
New
- Credit card input form example by @maaslalani in #338
- Allow unmanaged output above the app in standard renderer by @Adjective-Object in #249
Fixed!
New Contributors
- @georgijd made their first contribution in #330
- @joaom00 made their first contribution in #313
- @maaslalani made their first contribution in #338
- @Adjective-Object made their first contribution in #249
Full Changelog: v0.21.0...v0.22.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.