Skip to content

v0.22.0

Compare
Choose a tag to compare
@maaslalani maaslalani released this 27 Jun 20:05
· 304 commits to master since this release
ca32c4c

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 Cmds 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.

Package Manager Demo

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

Fixed!

  • Race condition on repaint by @georgijd in #330
  • Handle batched key msgs by @muesli in #326

New Contributors

Full Changelog: v0.21.0...v0.22.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.