Update module github.com/charmbracelet/bubbletea to v0.27.1 #538
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.26.6->v0.27.1Release Notes
charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)
v0.27.1Compare Source
This is a lil’ workaround for a hang that can occur when starting a program using Lip Gloss. For details see https://github.com/charmbracelet/bubbletea/pull/1107.
Changelog
Bug fixes
d6458e0: fix: force query the terminal bg before running any programs (@aymanbagabas)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.27.0Compare Source
Suspending, environment hacking, and more
Hi! This release has three nice little features and some bug fixes. Let's take a look:
Suspending and resuming
At last, now you can programmatically suspend and resume programs with the
tea.Suspendcommand and handle resumes with thetea.ResumeMsgmessage:Example
There's also a
tea.SuspendMsgthat flows throughUpdateon suspension.Special thanks to @knz for prototyping the original implementation of this.
Setting the environment
When Bubble Tea is behind Wish you may have needed to pass environment variables from the remote session to the
Program. Now you can with the all new tea.WithEnvironment:Requesting the window dimensions
All the Bubble Tea pros know that you get a
tea.WindowSizeMsgwhen theProgramstarts and when the window resizes. Now you can just query it on demand too with thetea.WindowSizecommand.Changelog
New!
7d70838: feat: add a cmd to request window size (#988) (@aymanbagabas)ea13ffb: feat: allow to suspend bubbletea programs (#1054) (@caarlos0)cae9acd: feat: set the program environment variables (#1063) (@aymanbagabas)Fixed
7c1bfc0: query window-size in a goroutine (#1059) (@aymanbagabas)4497aa9: reset cursor position on renderer exit (#1058) (@aymanbagabas)d6a19f0: wrapErrProgramKillederror (@aymanbagabas)4a9620e: fix bugs in package-manager example (@AkshayKalose)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
Configuration
📅 Schedule: Branch creation - "before 4pm on friday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.