focus/crates/focus-tui
DaiChaoXiong 4b5f4cf52b feat(tui): cross-platform wheel scroll and two-level expansion
1. wheel: scrolling up now clears follow (the real bug — with follow=true every
   draw snapped back to the bottom, so the wheel appeared dead on both Linux
   and Windows); crossterm already normalizes xterm (Linux) and ConPTY
   (Windows) wheel events to ScrollUp/ScrollDown, and ScrollLeft/ScrollRight
   are handled too
2. expansion becomes three-state (collapsed → partial → full → collapsed):
   the first expand shows the first 20 lines with a '… 还有 N 行(再次点击/Tab
   展开全部)' hint; the second expand reveals everything. Applies to thinking,
   tool-execution output and tool-result content. ToolCall args stay
   single-level human-readable.

tests: three-state cycle, full-flag propagation
2026-08-09 22:30:04 +08:00
..
src feat(tui): cross-platform wheel scroll and two-level expansion 2026-08-09 22:30:04 +08:00
tests feat(tui): cross-platform wheel scroll and two-level expansion 2026-08-09 22:30:04 +08:00
Cargo.toml feat(tui): add focus-tui terminal UI 2026-08-09 21:35:58 +08:00