Centered monthly view

This commit is contained in:
steven carpenter 2025-07-28 22:33:42 -04:00
parent 0cb41d9cdf
commit 2476af323f
3 changed files with 11 additions and 2 deletions

View file

@ -72,7 +72,8 @@ func (m model) viewMonth() string {
}
out += "\n[a]/[d] to change month, [up]/[down]/[left]/[right] keys to move, [enter] to select a day, [q] to quit."
return out
return lipgloss.Place(m.width, m.height, lipgloss.Center, lipgloss.Center, out)
}