mirror of
https://github.com/charmbracelet/gum
synced 2026-03-14 21:55:45 +01:00
fix: filter
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
c97962bb40
commit
9bef85fde9
1 changed files with 3 additions and 1 deletions
|
|
@ -252,7 +252,9 @@ func (m model) View() string {
|
|||
view += m.helpView()
|
||||
}
|
||||
if m.header != "" {
|
||||
return lipgloss.JoinVertical(lipgloss.Left, header, view)
|
||||
return lipgloss.NewStyle().
|
||||
Padding(m.padding...).
|
||||
Render(header + "\n" + view)
|
||||
}
|
||||
|
||||
return lipgloss.NewStyle().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue