Sorry to interrupt: it's time for Bubble Tea v1.3.0!
Bubble Tea now ships with refined interrupt handling, courtesy @caarlos0. Now, you can throw your terminal a ctrl+c or an interrupt signal, Bubble Tea will take it with grace and poise. Switch any ol’ run-of-the-mill tea.Quit
command with tea.Interrupt
for seamless interruptions.
Bug Fixes
- 2556e01: The last rendered line count now includes those sneaky alt screen lines, thanks to @semihbkgr's keen eye (#1254)
- c8d6005: Windows users rejoice! @awoodbeck has managed to cancel those unruly threads like an expert party planner using
CancelIoEx
(#1305)
New Contributors
Special thanks to the following new contributors:
- @awoodbeck, for totally fixing input on Windows
- @Bilogweb3, for help with the docs
- @simonnordberg, for catching some outdated typos
Changelog
New Features
Bug fixes
- 2556e01: fix: getting last rendered line counts including alt screen lines (#1254) (@semihbkgr)
- 31b433c: fix: replace deprecated ansi codes (@aymanbagabas)
- c8d6005: fix: use CancelIoEx to cancel Windows conInputReader across threads (#1305) (@awoodbeck)
Documentation updates
- 9306010: docs(example): resize chat example based on window (#1262) (@bashbunni)
- 2060f93: docs(examples): fix glamour example (#1204) (@meowgorithm)
- 07288b1: docs(readme): add more stuff to "In the Wild" (@meowgorithm)
- 1bf1886: docs(readme): additional readme tiyding up (@meowgorithm)
- 79cc2fb: docs(readme): fix tiny typo in readme (@meowgorithm)
- e0515bc: docs(readme): fix typos (#1265) (@Bilogweb3)
- 39f9fae: docs: clarify imports in the readme (#1234) (@caarlos0)
Other work
- eb7e3d0: Update README.md references to main branch (@simonnordberg)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.