fix: line split when too many timezones

This commit is contained in:
2026-02-10 22:32:56 +00:00
parent db4af70c60
commit af383be2b2
+2 -1
View File
@@ -123,7 +123,8 @@ func (m Model) View() string {
if m.manualTz != "" {
header += SubtleStyle.Render(fmt.Sprintf("Tz : %s\n", m.displayTz))
} else {
header += SubtleStyle.MaxWidth(60).Render(fmt.Sprintf("User : %s\nTz %s\n", m.username, m.displayTz))
// you need Width to split, MaxWidth just truncates
header += SubtleStyle.Width(48).Render(fmt.Sprintf("User : %s\nTz : %s\n", m.username, m.displayTz))
}
table := m.table.View()