fix: make empty line before help consistent

This commit is contained in:
Carlos Alexandro Becker 2025-03-25 14:00:20 -03:00
commit 4fea9a037a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,7 @@ func (m model) View() string {
}
parts = append(parts, s.String())
if m.showHelp {
parts = append(parts, m.help.View(m.keymap))
parts = append(parts, "", m.help.View(m.keymap))
}
return lipgloss.JoinVertical(lipgloss.Left, parts...)

View file

@ -94,7 +94,7 @@ func (m model) View() string {
}
parts = append(parts, m.textarea.View())
if m.showHelp {
parts = append(parts, m.help.View(m.keymap))
parts = append(parts, "", m.help.View(m.keymap))
}
return lipgloss.JoinVertical(lipgloss.Left, parts...)
}