mirror of
https://github.com/overcuriousity/trace.git
synced 2025-12-20 04:52:21 +00:00
When navigating between views (case list -> case detail -> evidence detail) and pressing 'b' to go back, the previously selected item is now restored instead of always jumping to the top of the list. Implementation: - Added nav_history dict to track selected indices per view/context - _save_nav_position() saves current index before navigating away - _restore_nav_position() restores index when returning to a view - Works across all navigation paths: cases, evidence, tags, IOCs, notes This improves UX by maintaining user context during navigation. Location: trace/tui.py