mirror of
https://github.com/charmbracelet/gum
synced 2026-03-14 13:45:45 +01:00
fix: make empty line before help consistent
This commit is contained in:
parent
699ac86e9a
commit
4fea9a037a
2 changed files with 2 additions and 2 deletions
|
|
@ -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...)
|
||||
|
|
|
|||
|
|
@ -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...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue