This features support for Bubble Tea's new focus-blur feature as well as a quality-of-life update to paginator. Enjoy!
Focus
You heard that right. Focus-blur window events are now enabled for textinput and textarea which were recently added to Bubble Tea v1.1.0. As long as WithReportFocus is enabled in your Program you'll automatically get nicer inputs.
To enable focus reporting:
p := tea.NewProgram(model{}, tea.WithReportFocus())
Remember to stay focused and hydrated!
Paginator opts
Speaking of functional arguments, paginator also received some some new quality-of-life startup options, courtesy @nervo.
p := paginator.New(
paginator.WithPerPage(42),
paginator.WithTotalPages(42),
)
Of course, you can still set the values on the model directly too:
p := paginator.New()
p.PerPage = 42
p.TotalPages = 24
Happy paging!
Changelog
New!
d3bd075ed2b27a3b5d76bb79b5d1c928dcd780d0: feat(cursor): focus/blur support (#581) (@caarlos0)
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 commands and options
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all group with 5 updates:
1.9.2
1.10.0
0.19.0
0.20.0
0.27.0
1.1.0
1.29.0
1.31.0
1.3.0
1.4.0
Updates
github.com/PuerkitoBio/goquery
from 1.9.2 to 1.10.0Release notes
Sourced from github.com/PuerkitoBio/goquery's releases.
Commits
7d37930
Update readme to prepare 1.10 version9551ee5
Merge pull request #489 from PuerkitoBio/amikai-itereach-pr291e2cf
Merge branch 'master' into amikai-itereach-pr7019296
Update CI to target go1.23+eec8e87
Revert "Re-orangize code for compitable"957a864
Prepare 1.9.3 release34d91db
Merge pull request #488 from PuerkitoBio/dependabot/go_modules/golang.org/x/n...0984c44
Bump golang.org/x/net from 0.28.0 to 0.29.0fbfb78c
Merge pull request #487 from Kiyo510/fix_ci_teste91ee4d
Fixed checkout to repo before executing actions/setup-go@v5 step to avoid err...Updates
github.com/charmbracelet/bubbles
from 0.19.0 to 0.20.0Release notes
Sourced from github.com/charmbracelet/bubbles's releases.
... (truncated)
Commits
d3bd075
feat(cursor): focus/blur support (#581)6fc27e9
feat(deps): bump github.com/charmbracelet/bubbletea from 1.0.0 to 1.1.0 (#607)a163c6c
chore(lint): disable predeclared due to false positives72de4f4
chore(lint): update mnd name, remove deprecated directives3eaf8da
feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#604)5110925
feat: Introduce paginator optionsUpdates
github.com/charmbracelet/bubbletea
from 0.27.0 to 1.1.0Release notes
Sourced from github.com/charmbracelet/bubbletea's releases.
... (truncated)
Commits
e58efab
feat: support focus-blur events (#1122)a5437ac
feat(ci): use meta build workflow (#1123)c69bd97
fix: we don't initialize the terminal when using a nilRenderer (#1120)af7ec0e
chore(deps): bump github.com/charmbracelet/bubbles in /examples (#1104)105d88a
fix(ci): skip CI for examples/tutorials running go1.1817443d8
chore(deps): go mod tidyd6458e0
fix: force query the terminal bg before running any programsUpdates
github.com/sashabaranov/go-openai
from 1.29.0 to 1.31.0Release notes
Sourced from github.com/sashabaranov/go-openai's releases.
... (truncated)
Commits
fdd59d9
feat: usage struct add CompletionTokensDetails (#863)e9d8485
fix: ParallelToolCalls should be added to RunRequest (#861)7f80303
Fix max_completion_tokens (#860)38bdc81
Optimize Client Error Return (#856)e095df5
run_id string Optional (#855)9a4f3a7
feat: add ParallelToolCalls to RunRequest (#847)9add1c3
add max_completions_tokens for o1 series models (#857)1ec8c24
fix: jsonschema integer validation (#852)a5fb553
Support OpenAI reasoning models (#850)194a03e
Add refusal (#844)Updates
zombiezen.com/go/sqlite
from 1.3.0 to 1.4.0Release notes
Sourced from zombiezen.com/go/sqlite's releases.
Changelog
Sourced from zombiezen.com/go/sqlite's changelog.
Commits
ac68309
Update release notes for 1.4.0c9384e7
Update modernc.org/sqlite version34980cf
Add explicit synchronization for sqlite3_initializec29a657
Add sqlitex.ResultBytes function (#86)26b464f
New name3255b67
Add error message for double-closeDependabot 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 commands and options
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