Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(input): support focus/blur #357

Merged
merged 4 commits into from
Sep 6, 2024
Merged

feat(input): support focus/blur #357

merged 4 commits into from
Sep 6, 2024

Conversation

caarlos0
Copy link
Member

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 added the enhancement New feature or request label Aug 13, 2024
@caarlos0 caarlos0 self-assigned this Aug 13, 2024
@decentral1se
Copy link

Yay, deffo need this one! Just chiming in with support 🎉

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 merged commit a9285a0 into main Sep 6, 2024
40 checks passed
@caarlos0 caarlos0 deleted the focus-blur branch September 6, 2024 16:33
renovate bot referenced this pull request in jippi/dottie Sep 6, 2024
….mod (#88)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/charmbracelet/huh](https://redirect.github.com/charmbracelet/huh)
| `v0.5.3` -> `v0.6.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcharmbracelet%2fhuh/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcharmbracelet%2fhuh/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcharmbracelet%2fhuh/v0.5.3/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcharmbracelet%2fhuh/v0.5.3/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charmbracelet/huh (github.com/charmbracelet/huh)</summary>

###
[`v0.6.0`](https://redirect.github.com/charmbracelet/huh/releases/tag/v0.6.0)

[Compare
Source](https://redirect.github.com/charmbracelet/huh/compare/v0.5.3...v0.6.0)

### Just focus

This release features automatic window focus events support for the
`Input` and `Text` components.

If you're using Huh in a larger Bubble Tea program you’ll need
[`WithReportFocus`](https://pkg.go.dev/github.com/charmbracelet/bubbletea#WithReportFocus)
to enable focus events.

```go
p := tea.NewProgram(model{}, tea.WithReportFocus())
```

Happy focusing!

#### Changelog

##### New!

- support focus/blur by
[@&#8203;caarlos0](https://redirect.github.com/caarlos0) in
[https://github.com/charmbracelet/huh/pull/357](https://redirect.github.com/charmbracelet/huh/pull/357)

**Full Changelog**:
charmbracelet/huh@v0.5.3...v0.6.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* */1 * * *" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jippi/dottie).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants