forestui
forestui copied to clipboard
Sidebar highlight and detail pane disagree after archiving a worktree
After archiving the selected worktree with h, the sidebar cursor moves to the next worktree, but the detail pane (and the app's actual selection) stays on the archived one. Pressing d then targets the archived worktree, not the highlighted one. The confirm dialog prevents data loss, but the UI is lying about what's selected.
Steps: repo with worktrees A and B → select A → h → B is highlighted, detail still shows A → d → "Permanently delete 'A'?"
Expected: after archiving, the selection and the detail pane follow the highlighted row (or the highlight stays on the archived item when the archived section is visible).