Update module github.com/charmbracelet/bubbletea to v1 #48
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: abs3nt/gospt#48
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/github.com-charmbracelet-bubbletea-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.26.6
->v1.2.3
Release Notes
charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)
v1.2.3
Compare Source
Altscreen-not-altscreen
This release fixes a sneaky longstanding bug in the renderer where mis-paints could happen when toggling in and out of the altscreen if the height of the TUI changed whilst in the altscreen. Special thanks to @applejag for reporting the issue and @semihbkgr for the fix.
Changelog
f8f840c
: fix: cursor position adjustment after exiting alt screen (#1241) (@semihbkgr)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.2.2
Compare Source
Hi! This release fixes some bugs found the fast new renderer introduced in v1.2.0. Happy rendering!
Fixed
New Contributors
Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v1.2.0...v1.2.2
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.2.1
Compare Source
v1.2.0
Compare Source
It’s performance boost time
Sometimes you have to take matters into your own hands. That’s exactly what @LeperGnome did when he wanted faster rendering. This release features adjustments to the rendering algorithm for faster repaints. We encourage you to upgrade and give it a go!
Changelog
New Contributors
Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v1.1.2...v1.2.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.1.2
Compare Source
This and that
A tiny tiny release that fixes the tests on Windows, and uses the latest
ansi
package definitions.Changelog
New Features
Bug fixes
Documentation updates
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v1.1.1
Compare Source
Don't panic!
Panicking is a part of life…and a part of workin’ in Go. This release addresses two edge cases where a
panic()
could tank Bubble Tea and break your terminal:Panics outside of Bubble Tea
If a panic occurs outside of Bubble Tea you can use
Program.Kill
to restore the terminal state before exiting:Panics in Cmds
If a panic occurs in a
Cmd
Bubble Tea will now automatically restore the terminal to its natural state before exiting.Happy panicking (if that makes any sense).
Changelog
Fixed!
0589921
: fix: recover from panics within cmds (@aymanbagabas)6e71f52
: fix: restore the terminal on kill (@aymanbagabas)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
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.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go get
command, which resulted in the following additional change(s):Details:
github.com/charmbracelet/lipgloss
v0.12.1
->v1.0.0
golang.org/x/sync
v0.7.0
->v0.9.0
github.com/charmbracelet/x/ansi
v0.1.4
->v0.4.5
github.com/charmbracelet/x/term
v0.1.1
->v0.2.1
golang.org/x/sys
v0.22.0
->v0.27.0
22d2d560a7
to83c19fc59e
83c19fc59e
to475e30d3f9
475e30d3f9
to81d82fe96f
81d82fe96f
to9c7790ad84
9c7790ad84
to54d1fe1b16
54d1fe1b16
to9def6d8e62
9def6d8e62
toc95e66f46a
c95e66f46a
to9a7c44e93e
Checkout
From your project repository, check out a new branch and test the changes.