Fix history line rendering: add newline after style render

This commit is contained in:
2025-11-07 12:14:06 +00:00
parent 22c635d7ae
commit c36a052769
2 changed files with 2 additions and 3 deletions

View File

@ -215,11 +215,10 @@ func (m HistoryViewModel) View() string {
if m.cursor == i {
// Highlighted selection
s.WriteString(selectedStyle.Render("→ " + line))
s.WriteString(selectedStyle.Render("→ " + line) + "\n")
} else {
s.WriteString(" " + line)
s.WriteString(" " + line + "\n")
}
s.WriteString("\n")
}
// Show scroll indicator if more entries below