Skip to content

feat(input): support focus/blur - #357

Merged
caarlos0 merged 4 commits into
mainfrom
focus-blur
Sep 6, 2024
Merged

caarlos0 merged 4 commits into
mainfrom
focus-blur

Conversation

@caarlos0

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
@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

⌂ 换网址