Simplify history selection: remove styled background, use plain arrow marker

This commit is contained in:
2025-11-07 12:41:34 +00:00
parent 6a101f52f8
commit 236006753a

View File

@@ -214,12 +214,10 @@ func (m HistoryViewModel) View() string {
entry.Status) entry.Status)
if m.cursor == i { if m.cursor == i {
// Highlighted selection - render without background extending to full width // Simple selection marker without styled background
s.WriteString("→ ") s.WriteString(fmt.Sprintf("→ %s\n", line))
s.WriteString(selectedStyle.Render(line))
s.WriteString("\n")
} else { } else {
s.WriteString(" " + line + "\n") s.WriteString(fmt.Sprintf(" %s\n", line))
} }
} }