Skip to content

Commit

Permalink
chore(dependabot): bump github.com/charmbracelet/bubbletea from 0.26.…
Browse files Browse the repository at this point in the history
…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 &amp;quot;ctrl+z&amp;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
dependabot[bot] authored Aug 27, 2024
1 parent 69bb210 commit d2a3cb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.5
require (
github.com/adrg/frontmatter v0.2.0
github.com/charmbracelet/bubbles v0.18.0
github.com/charmbracelet/bubbletea v0.26.6
github.com/charmbracelet/bubbletea v0.27.1
github.com/charmbracelet/glamour v0.7.0
github.com/charmbracelet/huh v0.5.2
github.com/charmbracelet/lipgloss v0.13.0
Expand Down Expand Up @@ -112,8 +112,8 @@ require (
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.16.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240711142825-46eb208f015d // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqy
github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/charmbracelet/bubbles v0.18.0 h1:PYv1A036luoBGroX6VWjQIE9Syf2Wby2oOl/39KLfy0=
github.com/charmbracelet/bubbles v0.18.0/go.mod h1:08qhZhtIwzgrtBjAcJnij1t1H0ZRjwHyGsy6AL11PSw=
github.com/charmbracelet/bubbletea v0.26.6 h1:zTCWSuST+3yZYZnVSvbXwKOPRSNZceVeqpzOLN2zq1s=
github.com/charmbracelet/bubbletea v0.26.6/go.mod h1:dz8CWPlfCCGLFbBlTY4N7bjLiyOGDJEnd2Muu7pOWhk=
github.com/charmbracelet/bubbletea v0.27.1 h1:/yhaJKX52pxG4jZVKCNWj/oq0QouPdXycriDRA6m6r8=
github.com/charmbracelet/bubbletea v0.27.1/go.mod h1:xc4gm5yv+7tbniEvQ0naiG9P3fzYhk16cTgDZQQW6YE=
github.com/charmbracelet/glamour v0.7.0 h1:2BtKGZ4iVJCDfMF229EzbeR1QRKLWztO9dMtjmqZSng=
github.com/charmbracelet/glamour v0.7.0/go.mod h1:jUMh5MeihljJPQbJ/wf4ldw2+yBP59+ctV36jASy7ps=
github.com/charmbracelet/huh v0.5.2 h1:ofeNkJ4iaFnzv46Njhx896DzLUe/j0L2QAf8znwzX4c=
Expand Down Expand Up @@ -337,13 +337,13 @@ golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE=
golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA=
golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk=
golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4=
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
Expand Down

0 comments on commit d2a3cb9

Please sign in to comment.