@@ -86,13 +86,20 @@ func renderItem(t *styles.Styles, title string, updatedAt int64, focused bool, w
88 var ageLen int
88 var ageLen int
89 if updatedAt > 0 {
91 if updatedAt > 0 {
90 ageLen = lipgloss.Width(age)
92 ageLen = lipgloss.Width(age)
93− title = ansi.Truncate(title, max(0, width-ageLen), "…")
96+ title = ansi.Truncate(title, max(0, lineWidth), "…")
94 titleLen := lipgloss.Width(title)
97 titleLen := lipgloss.Width(title)
95− right := lipgloss.NewStyle().AlignHorizontal(lipgloss.Right).Width(width - titleLen).Render(age)
100+ right = lipgloss.NewStyle().AlignHorizontal(lipgloss.Right).Width(width - titleLen).Render(age)
96 content := title
103 content := title
97 if matches := len(m.MatchedIndexes); matches > 0 {
104 if matches := len(m.MatchedIndexes); matches > 0 {
98 var lastPos int
105 var lastPos int