Refine transfer UX and active-pane selection rendering

This commit is contained in:
vrubelroman 2026-04-23 13:45:46 +03:00
parent 5a5923099b
commit 874a5ed678
3 changed files with 5 additions and 16 deletions

View file

@ -206,7 +206,8 @@ func renderPaneRows(pane BrowserPane, cfg config.Config, palette theme.Palette,
lines := make([]string, 0, visibleHeight)
for idx := pane.Offset; idx < end; idx++ {
entry := pane.Entries[idx]
row := renderEntryRow(entry, cfg, width, idx == pane.Cursor, idx == hoverIndex, active, palette, background)
isSelected := idx == pane.Cursor && active
row := renderEntryRow(entry, cfg, width, isSelected, idx == hoverIndex, active, palette, background)
lines = append(lines, row)
}
for len(lines) < visibleHeight {