Skip to content

Commit

Permalink
Update form.go
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
bashbunni and caarlos0 authored Jan 8, 2025
1 parent dcf4830 commit 831bdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion form.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ func (f *Form) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
f.selector.Range(func(_ int, group *Group) bool {
if group.fullHeight() > msg.Height {
group.WithHeight(msg.Height - 1)
group.WithHeight(msg.Height - 1) // subtracts help height
}
return true
})
Expand Down

0 comments on commit 831bdb8

Please sign in to comment.