Centered monthly view
This commit is contained in:
parent
0cb41d9cdf
commit
2476af323f
3 changed files with 11 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue