Go to file
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
crates feat(tui): cross-platform wheel scroll and two-level expansion 2026-08-09 22:30:04 +08:00
docs/architecture INIT 2026-07-16 17:59:16 +08:00
examples INIT 2026-07-16 17:59:16 +08:00
.gitignore docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
AGENTS.md docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
Cargo.lock docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
Cargo.toml docs(workspace): whitelist ratatui/crossterm for focus-tui 2026-08-09 21:35:58 +08:00
README.md chore(workspace): sync manifests, docs and lockfile 2026-08-09 21:00:04 +08:00
rust-toolchain.toml INIT 2026-07-16 17:59:16 +08:00

README.md