Commit Graph

9 Commits

Author SHA1 Message Date
e4e8e59762 Remove all lipgloss styling from history view - use plain text only 2025-11-07 12:44:25 +00:00
0a5fba166d Simplify history selection: remove styled background, use plain arrow marker 2025-11-07 12:41:34 +00:00
069313e70b Fix line rendering: write arrow outside of style render 2025-11-07 12:31:41 +00:00
b824a9ffa2 Fix newline rendering: separate WriteString calls for content and newline 2025-11-07 12:22:08 +00:00
c36a052769 Fix history line rendering: add newline after style render 2025-11-07 12:14:06 +00:00
22c635d7ae Enhanced history navigation: start at recent, add PgUp/PgDn/Home/End keys 2025-11-07 12:10:26 +00:00
5286d94c8b Fix: Add viewport scrolling to operation history
PROBLEM:
- History displayed ALL entries at once
- With many backups, first entries scroll off screen
- Cursor navigation worked but selection was invisible
- User had to "blindly" navigate 5+ entries to see anything

SOLUTION:
- Added viewport with max 15 visible items at once
- Viewport auto-scrolls to follow cursor position
- Scroll indicators show when there are more entries:
  * "▲ More entries above..."
  * "▼ X more entries below..."
- Cursor always visible within viewport

RESULT:
-  Always see current selection
-  Works with any number of history entries
-  Clear visual feedback with scroll indicators
-  Smooth navigation experience
2025-11-07 11:58:46 +00:00
d51653a857 Fix: Operation history navigation now visible with arrow keys
FIXED:
- Removed unused cursor variable that was always a space
- Arrow up/down now visibly highlights selected item
- Added position counter (Viewing X/Y)
- Changed selection indicator from ">" to "→"
- Explicit cursor initialization to 0

RESULT:
- ↑/↓ keys now work and show visual feedback
- Current selection clearly visible with highlight
- Position indicator shows which item is selected
2025-11-07 11:54:08 +00:00
4e281cff01 chore: update build and tui assets 2025-10-24 15:43:27 +00:00