Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/charmbracelet/bubbletea to v0.25.0 - autoclosed #10

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 26, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbletea require minor v0.24.0 -> v0.25.0

Release Notes

charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)

v0.25.0

Compare Source

Major mouse improvements, improved input parsing, and lots more!

We hope you’re ready for winter. Unless you’re in the southern hemisphere (like @​caarlos0) in which case, we hope you’re ready for summer. In either case, we hope you have a happy new year if the Julian calendar is something you’re into.

There are a bunch of good features in this release and a ton of input-related improvements. Read on for more!

Extended Mouse Mode

Bubble Tea now supports Extended Mouse Mode (aka SGR mode) which makes now mouse support in Bubble Tea way, way better.

Prior to this release Bubble Tea used the X10 mouse protocol. X10 was last released in 1986: a time when screen resolutions were smaller, memory limits were low, and a terminal sizes were tiny. For terminals and mice this meant that the mouse tracking stopped after the 127th horizontal cell. Well, thanks to the elite abilities of @​aymanbagabas Bubble Tea can now track mouse movements across the entire terminal window, no matter how enormous.

And that's not all: Bubble Tea now has higher fidelity access to mouse operations such as shift, ctrl, and alt modifiers, mouse button release events, and a big range of mouse button and mouse wheel events.

For details see the docs for the new and improved MouseEvent.

Setting the Window Title

@​aymanbagabas also wanted to be able to set the terminal window title with Bubble Tea, so he added the SetWindowTitle Cmd. Now setting the window title is as simple as:

func (m Model) Update(msg tea.Msg) (tea.Model. tea.Cmd) {
    return m, tea.SetWindowTitle("oh my")
}

FPS Control

Have you ever thought “Bubble Tea is too fast and I just can’t handle it?” Or perhaps 60fps is too slow and you want to go full 120fps. Now, thanks to @​tomfeigin’s WithFPS ProgramOption you can:

// Let’s go with the classic soap opera frame rate
p := tea.NewProgram(model, tea.WithMaxFPS(45))

Better Input, Better Living

@​knz is just incredible. He took a look at Bubble Tea’s input parser and whipped it into shape with what felt like a flick of the wrist. Keyboard input is now more efficient than ever and very large amounts of input can be parsed with the greatest of ease. It's hard to overstate how impactful his contributions are—and there are more in the pipe.

Changelog

New!

Fixed

Full Changelog: charmbracelet/bubbletea@v0.24.2...v0.25.0

New Contributors


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.24.2

Compare Source

This point release fixes a race condition that could occur when stopping the default renderer:

Full Changelog: charmbracelet/bubbletea@v0.24.1...v0.24.2


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.24.1

Compare Source

You can pipe again

This point release fixes a regression introduced in v0.24.0 in which keyboard and mouse input would be lost when piping and redirecting into a program with default inputs. Special thanks to @​pomdtr for…piping up about the regression.

Full Changelog: charmbracelet/bubbletea@v0.24.0...v0.24.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or 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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update module github.com/charmbracelet/bubbletea to v0.24.1 Update module github.com/charmbracelet/bubbletea to v0.24.2 Jun 7, 2023
@renovate renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-0.x branch from 0422865 to 57e5613 Compare June 7, 2023 09:46
@renovate renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-0.x branch from 57e5613 to 9618abd Compare December 12, 2023 18:56
@renovate renovate bot changed the title Update module github.com/charmbracelet/bubbletea to v0.24.2 Update module github.com/charmbracelet/bubbletea to v0.25.0 Dec 12, 2023
@renovate renovate bot changed the title Update module github.com/charmbracelet/bubbletea to v0.25.0 Update module github.com/charmbracelet/bubbletea to v0.25.0 - autoclosed Dec 29, 2023
@renovate renovate bot closed this Dec 29, 2023
@renovate renovate bot deleted the renovate/github.com-charmbracelet-bubbletea-0.x branch December 29, 2023 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants