chore(deps): update module github.com/charmbracelet/bubbletea to v1 #132
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
->v1.1.0
Release Notes
charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)
v1.1.0
Compare Source
Let’s Focus
Lose focus much? This release contains support for focus-blur window events.
Usage
All you need to do is to add the program option to your application:
Then later in your
Update
function, you can listen for focus-blur messages:For details, see WithReportFocus.
Tmux
If you're using
tmux
, make sure you enable thefocus-events
option in your config.Happy focusing (whatever that means)!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.0.1
Compare Source
This release that fixes the way carriage returns are handled with using the WithoutRenderer
ProgramOption
and improves the way it works overall by not altering the terminal the way we normally do when starting aProgram
. For details see #1120.c69bd97
: fix: we don't initialize the terminal when using a nilRenderer (#1120) (@aymanbagabas)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.0.0
Compare Source
At last: v1.0.0
This is an honorary release denoting that Bubble Tea is now stable. Thank you, open source community, for all your love, support, and great taste in beverage over the past four years.
Stay tuned for v2: we have some great things coming.
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.27.1
Compare 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.0
Compare 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.Suspend
command and handle resumes with thetea.ResumeMsg
message:Example
There's also a
tea.SuspendMsg
that flows throughUpdate
on 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.WindowSizeMsg
when theProgram
starts and when the window resizes. Now you can just query it on demand too with thetea.WindowSize
command.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
: wrapErrProgramKilled
error (@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 - 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.
This PR has been generated by Renovate Bot.