Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dependabot): bump github.com/charmbracelet/bubbletea from 0.26.…
…6 to 0.27.1 (#312) [//]: # (dependabot-start)⚠️ **Dependabot is rebasing this PR**⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.6 to 0.27.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/charmbracelet/bubbletea/releases">github.com/charmbracelet/bubbletea's releases</a>.</em></p> <blockquote> <h2>v0.27.1</h2> <p>This is a lil’ workaround for a hang that can occur when starting a program using Lip Gloss. For details see <a href="https://redirect.github.com/charmbracelet/bubbletea/pull/1107">charmbracelet/bubbletea#1107</a>.</p> <h2>Changelog</h2> <h3>Bug fixes</h3> <ul> <li>d6458e03f27245a597a30234a532ef345af31d36: fix: force query the terminal bg before running any programs (<a href="https://github.com/aymanbagabas"><code>@aymanbagabas</code></a>)</li> </ul> <hr /> <p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <p>Thoughts? Questions? We love hearing from you. Feel free to reach out on <a href="https://twitter.com/charmcli">Twitter</a>, <a href="https://mastodon.technology/@charm">The Fediverse</a>, or on <a href="https://charm.sh/chat">Discord</a>.</p> <h2>v0.27.0</h2> <h1>Suspending, environment hacking, and more</h1> <p>Hi! This release has three nice little features and some bug fixes. Let's take a look:</p> <h2>Suspending and resuming</h2> <p>At last, now you can programmatically suspend and resume programs with the <a href="https://pkg.go.dev/github.com/charmbracelet/bubbletea#Suspend"><code>tea.Suspend</code></a> command and handle resumes with the <a href="https://pkg.go.dev/github.com/charmbracelet/bubbletea#ResumeMsg"><code>tea.ResumeMsg</code></a> message:</p> <pre lang="go"><code>func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { <pre><code>// Suspend with ctrl+z! case tea.KeyMsg: switch msg.String() { case &quot;ctrl+z&quot;: m.suspended = true return m, tea.Suspend } // Handle resumes case tea.ResumeMsg: m.suspended = false return m, nil } // ... </code></pre> <p>}<br /> </code></pre></p> <p><a href="https://github.com/charmbracelet/bubbletea/blob/d6a19f0eb5a983610bd65a1647f5955abe3ee69e/examples/suspend/main.go">Example</a></p> <p>There's also a <a href="https://pkg.go.dev/github.com/charmbracelet/bubbletea#SuspendMsg"><code>tea.SuspendMsg</code></a> that flows through <code>Update</code> on suspension.</p> <p>Special thanks to <a href="https://github.com/knz"><code>@knz</code></a> for prototyping the original implementation of this.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/charmbracelet/bubbletea/commit/17443d8d127f3497aea3fdf2ed9cc99a978dc7a3"><code>17443d8</code></a> chore(deps): go mod tidy</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/d6458e03f27245a597a30234a532ef345af31d36"><code>d6458e0</code></a> fix: force query the terminal bg before running any programs</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/d6a19f0eb5a983610bd65a1647f5955abe3ee69e"><code>d6a19f0</code></a> fix: wrap ErrProgramKilled error</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/cae9acdf7b37b5723078bae2eaa99ca14c6bcd05"><code>cae9acd</code></a> feat: set the program environment variables (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/1063">#1063</a>)</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/7ddeec9506e478fef89ba6b2d1930f0bb65e93e1"><code>7ddeec9</code></a> chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/1077">#1077</a>)</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/3eb74e8d9dac487100b6d19ccc09b0c7820a6c7f"><code>3eb74e8</code></a> chore(deps): bump github.com/charmbracelet/glamour in /examples (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/1074">#1074</a>)</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/85ad9149f91cb8a5264d15b3b507d1c18452aa5b"><code>85ad914</code></a> chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/1072">#1072</a>)</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/7c4d67827125e40b90b654a82f79bd2c49a8b7a7"><code>7c4d678</code></a> chore(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0 (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/1073">#1073</a>)</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/7c1bfc0e55e65bc6d52ec1e126d97ee45ddbeb08"><code>7c1bfc0</code></a> fix: query window-size in a goroutine (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/1059">#1059</a>)</li> <li><a href="https://github.com/charmbracelet/bubbletea/commit/7d708384a105005dfbcec2290bfe4ea1d0e8d9f0"><code>7d70838</code></a> feat: add a cmd to request window size (<a href="https://redirect.github.com/charmbracelet/bubbletea/issues/988">#988</a>)</li> <li>Additional commits viewable in <a href="https://github.com/charmbracelet/bubbletea/compare/v0.26.6...v0.27.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/charmbracelet/bubbletea&package-manager=go_modules&previous-version=0.26.6&new-version=0.27.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information