chore(deps): update module github.com/charmbracelet/bubbletea to v0.25.0 #56

Open
renovate wants to merge 1 commits from renovate/github.com-charmbracelet-bubbletea-0.x into master
Contributor

This PR contains the following updates:

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

Release Notes

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

v0.25.0

Compare Source

Major mouse improvements, better 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: https://github.com/charmbracelet/bubbletea/compare/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.


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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) | require | minor | `v0.24.2` -> `v0.25.0` | --- ### Release Notes <details> <summary>charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)</summary> ### [`v0.25.0`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.25.0) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.24.2...v0.25.0) ### Major mouse improvements, better input parsing, and lots more! We hope you’re ready for winter. Unless you’re in the southern hemisphere (like [@&#8203;caarlos0](https://github.com/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 [@&#8203;aymanbagabas](https://github.com/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 <kbd>shift</kbd>, <kbd>ctrl</kbd>, and <kbd>alt</kbd> 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`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.25.0#MouseEvent). #### Setting the Window Title [@&#8203;aymanbagabas](https://github.com/aymanbagabas) also wanted to be able to set the terminal window title with Bubble Tea, so he added the [`SetWindowTitle`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.25.0#SetWindowTitle) `Cmd`. Now setting the window title is as simple as: ```go 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 [@&#8203;tomfeigin](https://github.com/tomfeigin)’s [`WithFPS`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.25.0#WithFPS) `ProgramOption` you can: ```go // Let’s go with the classic soap opera frame rate p := tea.NewProgram(model, tea.WithMaxFPS(45)) ``` #### Better Input, Better Living [@&#8203;knz](https://github.com/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! - Extended Coordinates mouse reporting and additional button support by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/594 - Option to set max FPS by [@&#8203;tomfeigin](https://github.com/tomfeigin) in https://github.com/charmbracelet/bubbletea/pull/578 - `SetWindowTitle` command by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/611 #### Fixed - Invert the key parsing control loop by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbletea/pull/569 - Simplify the key input analysis code by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbletea/pull/568 - Support very long buffered input in key parsing by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbletea/pull/570 - Make `ReleaseTerminal`/`RestoreTerminal` thread safe by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/791 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.24.2...v0.25.0 #### New Contributors - [@&#8203;tomfeigin](https://github.com/tomfeigin) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/578 - [@&#8203;bloznelis](https://github.com/bloznelis) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/763 - [@&#8203;grafviktor](https://github.com/grafviktor) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/770 - [@&#8203;naglis](https://github.com/naglis) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/787 - [@&#8203;grrlopes](https://github.com/grrlopes) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/804 - [@&#8203;Juneezee](https://github.com/Juneezee) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/812 - [@&#8203;ddworken](https://github.com/ddworken) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/828 - [@&#8203;wI2L](https://github.com/wI2L) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/829 - [@&#8203;guyfedwards](https://github.com/guyfedwards) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/865 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44OS40IiwidXBkYXRlZEluVmVyIjoiMzcuODkuNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
renovate added 1 commit 2023-12-12 19:31:23 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kichiyaki/gootp#56
No description provided.