fix(deps): update module charm.land/bubbletea/v2 to v2.1.2 #44

Merged
Sebi merged 1 commits from renovate/charm.land-bubbletea-v2-2.x into main 2026-11-18 12:16:21 +00:00
Owner

This PR contains the following updates:

Package Change Age Confidence
charm.land/bubbletea/v2 v2.1.1 → v2.1.2 age confidence

Release Notes

charmbracelet/bubbletea (charm.land/bubbletea/v2)

v2.1.2

Compare Source

Calmer, cooler, sturdier 🧋

A patch release, but it's a good one! Idle Bubble Tea programs now really sit idle, the terminal gets restored after just about anything goes wrong, and a long list of renderer bugs is gone.

Rest light!

The renderer no longer redraws when there's nothing to draw. After about half a second without changes, the frame ticker stops, and it picks right back up the moment something does change. Views that are empty or taller than the screen also skip redraws when they haven't changed.

Restoring in many more cases!

Bubble Tea now cleans up properly when:

  • A command in Batch or Sequence panics
  • Run returns early with an error
  • RestoreTerminal swaps the input reader
  • Run finishes and the TTY files it opened for input need closing

And when you come back from suspending a program, Unicode mode comes back with it, so wide characters and emoji line up just like before!

Smoother rendering

  • Resizing the terminal no longer flashes a stale frame.
  • The view's height is right from the very first frame.
  • Lines printed above your view keep their exact width, and they're measured the same way as the rest of your program.
  • Running a subprocess with Exec clears your view first, so it doesn't leave a ghost behind.

Big thanks to everyone who contributed to this release, and especially to the many first-time contributors! 💘

Read more below! 👇🏻

Have a nice day,
Charm XX 🌟

Changelog

Fixed
Other stuff

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [charm.land/bubbletea/v2](https://github.com/charmbracelet/bubbletea) | `v2.1.1` → `v2.1.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/charm.land%2fbubbletea%2fv2/v2.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/charm.land%2fbubbletea%2fv2/v2.1.1/v2.1.2?slim=true) | --- ### Release Notes <details> <summary>charmbracelet/bubbletea (charm.land/bubbletea/v2)</summary> ### [`v2.1.2`](https://github.com/charmbracelet/bubbletea/releases/tag/v2.1.2) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v2.1.1...v2.1.2) ### Calmer, cooler, sturdier 🧋 A patch release, but it's a good one! Idle Bubble Tea programs now really sit idle, the terminal gets restored after just about anything goes wrong, and a long list of renderer bugs is gone. #### Rest light! The renderer no longer redraws when there's nothing to draw. After about half a second without changes, the frame ticker stops, and it picks right back up the moment something does change. Views that are empty or taller than the screen also skip redraws when they haven't changed. #### Restoring in many more cases! Bubble Tea now cleans up properly when: - A command in `Batch` or `Sequence` panics - `Run` returns early with an error - `RestoreTerminal` swaps the input reader - `Run` finishes and the TTY files it opened for input need closing And when you come back from suspending a program, Unicode mode comes back with it, so wide characters and emoji line up just like before! #### Smoother rendering - Resizing the terminal no longer flashes a stale frame. - The view's height is right from the very first frame. - Lines printed above your view keep their exact width, and they're measured the same way as the rest of your program. - Running a subprocess with `Exec` clears your view first, so it doesn't leave a ghost behind. Big thanks to everyone who contributed to this release, and especially to the many first-time contributors! 💘 Read more below! 👇🏻 Have a nice day, Charm XX 🌟 #### Changelog ##### Fixed - [`9806b0c`](https://github.com/charmbracelet/bubbletea/commit/9806b0c763fb391cc2c4ffbb3aa243b901a812ef): fix(exec): clear View before releasing terminal for subprocess ([#&#8203;1762](https://github.com/charmbracelet/bubbletea/issues/1762)) ([@&#8203;zhaoxinyi02](https://github.com/zhaoxinyi02)) - [`418cada`](https://github.com/charmbracelet/bubbletea/commit/418cada8885b84de11160f103534a5bba0fd2d5d): fix(logging): preserve Unicode prefix spacing ([#&#8203;1759](https://github.com/charmbracelet/bubbletea/issues/1759)) ([@&#8203;Ricardo-M-L](https://github.com/Ricardo-M-L)) - [`94d45c8`](https://github.com/charmbracelet/bubbletea/commit/94d45c807dde21d7e46d14f3916ff4e3fac437f8): fix(renderer): prevent emitting stale frame on resize ([#&#8203;1856](https://github.com/charmbracelet/bubbletea/issues/1856)) ([@&#8203;Guurdeep](https://github.com/Guurdeep)) - [`4853fda`](https://github.com/charmbracelet/bubbletea/commit/4853fdaaa066e5d2fe0f93de543020eddd660e18): fix(renderer): skip redraws when empty or tall views haven't changed ([#&#8203;1897](https://github.com/charmbracelet/bubbletea/issues/1897)) ([@&#8203;janearc](https://github.com/janearc)) - [`6b30ecf`](https://github.com/charmbracelet/bubbletea/commit/6b30ecf3280d88d949dcc916bb91fc5e9d56f667): fix(renderer): use view height before first flush ([#&#8203;1766](https://github.com/charmbracelet/bubbletea/issues/1766)) ([@&#8203;fzlzjerry](https://github.com/fzlzjerry)) - [`55ba0f6`](https://github.com/charmbracelet/bubbletea/commit/55ba0f6de3ba6348597360690c008f7528d5813f): fix: allow Program.Run to be called again after the program exits ([#&#8203;1890](https://github.com/charmbracelet/bubbletea/issues/1890)) ([@&#8203;simpleqt](https://github.com/simpleqt)) - [`7a446b7`](https://github.com/charmbracelet/bubbletea/commit/7a446b73f6f1cae03a91160e97e040bce334beba): fix: avoid blocking prints after program exit ([#&#8203;1758](https://github.com/charmbracelet/bubbletea/issues/1758)) ([@&#8203;Ricardo-M-L](https://github.com/Ricardo-M-L)) - [`1b8005f`](https://github.com/charmbracelet/bubbletea/commit/1b8005fc10b235970f0414788339b18bcb6d6885): fix: avoid terminal wait without input ([#&#8203;1829](https://github.com/charmbracelet/bubbletea/issues/1829)) ([@&#8203;lowgame](https://github.com/lowgame)) - [`13fb42d`](https://github.com/charmbracelet/bubbletea/commit/13fb42d8ea1ac91e7eec2bd6717922802c1a0f48): fix: close the TTY files opened for input when Run returns ([#&#8203;1855](https://github.com/charmbracelet/bubbletea/issues/1855)) ([@&#8203;drawmeanelephant](https://github.com/drawmeanelephant)) - [`56a2fe7`](https://github.com/charmbracelet/bubbletea/commit/56a2fe7fed8ae475f315da0491fe4ce0c03b7041): fix: close the replaced cancel reader on RestoreTerminal ([#&#8203;1821](https://github.com/charmbracelet/bubbletea/issues/1821)) ([@&#8203;drmzperx](https://github.com/drmzperx)) - [`18d6fa3`](https://github.com/charmbracelet/bubbletea/commit/18d6fa3b34c84f3b773cd307a5d7b0a56b12c72a): fix: close trace file after program run ([#&#8203;1844](https://github.com/charmbracelet/bubbletea/issues/1844)) ([@&#8203;lowgame](https://github.com/lowgame)) - [`5982a61`](https://github.com/charmbracelet/bubbletea/commit/5982a61ef5e5d078255b2a67c45fd182ff54ec3c): fix: data race with Kill() and Run() ([#&#8203;1774](https://github.com/charmbracelet/bubbletea/issues/1774)) ([@&#8203;andrinoff](https://github.com/andrinoff)) - [`f3d74b7`](https://github.com/charmbracelet/bubbletea/commit/f3d74b724c7d8f2dc5a9d272f12e4942daaa1817): fix: ensure terminal state is restored after panics in Batch/Sequence commands ([#&#8203;1818](https://github.com/charmbracelet/bubbletea/issues/1818)) ([@&#8203;dajiaohuang](https://github.com/dajiaohuang)) - [`b9e7454`](https://github.com/charmbracelet/bubbletea/commit/b9e7454fd49640ed1eac9c29dc59d2ec86463ae2): fix: make Quit a no-op before Run starts ([#&#8203;1840](https://github.com/charmbracelet/bubbletea/issues/1840)) ([@&#8203;tianrking](https://github.com/tianrking)) - [`df137de`](https://github.com/charmbracelet/bubbletea/commit/df137dee9a2e6fc009cd2d837d0b0dae68b23c0e): fix: measure insertAbove lines with the active width method ([#&#8203;1861](https://github.com/charmbracelet/bubbletea/issues/1861)) ([@&#8203;Sanjays2402](https://github.com/Sanjays2402)) - [`bd09ae6`](https://github.com/charmbracelet/bubbletea/commit/bd09ae6834335499ac8422be16ff4215050ca94e): fix: preserve exact-width lines printed above the view ([#&#8203;1888](https://github.com/charmbracelet/bubbletea/issues/1888)) ([@&#8203;imharjot](https://github.com/imharjot)) - [`12b7b4d`](https://github.com/charmbracelet/bubbletea/commit/12b7b4d0eb0874e0f63d949ac33fd2d9022baa77): fix: restore terminal state on Run error paths ([#&#8203;1854](https://github.com/charmbracelet/bubbletea/issues/1854)) ([@&#8203;drawmeanelephant](https://github.com/drawmeanelephant)) - [`8675fd8`](https://github.com/charmbracelet/bubbletea/commit/8675fd8a858d4d82766509eb1aaffcd80085881b): fix: restore unicode mode on resume ([#&#8203;1896](https://github.com/charmbracelet/bubbletea/issues/1896)) ([@&#8203;janearc](https://github.com/janearc)) ##### Other stuff - [`73b79b3`](https://github.com/charmbracelet/bubbletea/commit/73b79b3737b9a68c76f3f2e6c49bf1bae327ee96): Provide the platform input/signal stubs on wasip1/wasip2 ([#&#8203;1767](https://github.com/charmbracelet/bubbletea/issues/1767)) ([@&#8203;calvinrp](https://github.com/calvinrp)) - [`e4d617e`](https://github.com/charmbracelet/bubbletea/commit/e4d617e7e0c0dd595cc553a856236221c678470f): perf(renderer): stop the frame ticker while nothing changes ([#&#8203;1832](https://github.com/charmbracelet/bubbletea/issues/1832)) ([@&#8203;viktordanov](https://github.com/viktordanov)) - [`38ddf5f`](https://github.com/charmbracelet/bubbletea/commit/38ddf5f58cfb4d14bfe607bcac5af502ab9ed6d6): v2.1.2 ([@&#8203;andrinoff](https://github.com/andrinoff)) *** <a href="https://charm.land/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-banner-next.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [X](https://x.com/charmcli), [Discord](https://charm.land/discord), [Slack](https://charm.land/slack), [The Fediverse](https://mastodon.social/@charmcli), [Bluesky](https://bsky.app/profile/charm.land). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIxMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sebi added 1 commit 2026-11-18 09:46:17 +00:00
Update module charm.land/bubbletea/v2 to v2.1.2
Test / test (pull_request) Successful in 3m57s
e01f86f2db
Sebi changed title from Update module charm.land/bubbletea/v2 to v2.1.2 to fix(deps): update module charm.land/bubbletea/v2 to v2.1.2 2026-11-18 11:46:30 +00:00
Sebi merged commit dd427681b6 into main 2026-11-18 12:16:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Sebi/ssh-netbox-wrapper#44