hay-kot / scaffold

A cookie cutter alternative with in-project scaffolding for generating components, controllers, or other common code patterns.
https://hay-kot.github.io/scaffold/
MIT License
63 stars 8 forks source link

fix(deps): update module github.com/charmbracelet/bubbletea to v1 #206

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/charmbracelet/bubbletea v0.27.1 -> v1.1.0 age adoption passing confidence

Release Notes

charmbracelet/bubbletea (github.com/charmbracelet/bubbletea) ### [`v1.1.0`](https://togithub.com/charmbracelet/bubbletea/releases/tag/v1.1.0) [Compare Source](https://togithub.com/charmbracelet/bubbletea/compare/v1.0.1...v1.1.0) ### 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: ```go p := tea.NewProgram(model{}, tea.WithReportFocus()) if _, err := p.Run(); err != nil { fmt.Fprintln(os.Stderr, "Oof:", err) os.Exit(1) } ``` Then later in your `Update` function, you can listen for focus-blur messages: ```go func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.FocusMsg: // Focused! case tea.BlurMsg: // Not focused :( } return m, nil } ``` For details, see [WithReportFocus](https://pkg.go.dev/github.com/charmbracelet/bubbletea#WithReportFocus). #### Tmux If you're using `tmux`, make sure you enable the `focus-events` option in your config. ```config set-option -g focus-events on ``` Happy focusing (whatever that means)! *** The Charm logo Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat). ### [`v1.0.1`](https://togithub.com/charmbracelet/bubbletea/releases/tag/v1.0.1) [Compare Source](https://togithub.com/charmbracelet/bubbletea/compare/v1.0.0...v1.0.1) This release that fixes the way carriage returns are handled with using the [WithoutRenderer](https://pkg.go.dev/github.com/charmbracelet/bubbletea#WithoutRenderer) `ProgramOption` and improves the way it works overall by not altering the terminal the way we normally do when starting a `Program`. For details see [#​1120](https://togithub.com/charmbracelet/bubbletea/issues/1120). - [`c69bd97`](https://togithub.com/charmbracelet/bubbletea/commit/c69bd971e65f6774aaa0347df035c8f1f3f36275): fix: we don't initialize the terminal when using a nilRenderer ([#​1120](https://togithub.com/charmbracelet/bubbletea/issues/1120)) ([@​aymanbagabas](https://togithub.com/aymanbagabas)) *** The Charm logo Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat). ### [`v1.0.0`](https://togithub.com/charmbracelet/bubbletea/releases/tag/v1.0.0) [Compare Source](https://togithub.com/charmbracelet/bubbletea/compare/v0.27.1...v1.0.0) ### 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. *** The Charm logo Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat).


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 is behind base branch, 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.

renovate[bot] commented 2 months ago

ℹ 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:

Package Change
github.com/charmbracelet/x/ansi v0.1.4 -> v0.2.3
github.com/charmbracelet/x/term v0.1.1 -> v0.2.0