Multi-click selection was flaky because we reset the click tracker on any mouse
drag event. Some terminals emit Drag events for very small cursor motion while
the button is held down (trackpad jitter), which breaks double/quad click
sequences.
Treat small drags as jitter: only reset the click tracker once the cursor moves
to another wrapped line or far enough horizontally from the anchor. Also loosen
click grouping as the sequence progresses and slightly increase the inter-click
timeout so quad-clicks are practical.
Add tests covering drag jitter and relaxed quad-click grouping.
Support double/triple/quad click selection (word/line/paragraph) using
transcript/viewport coordinates rather than terminal buffer positions.
Multi-click expansion rebuilds the wrapped transcript view from
HistoryCell::display_lines(width) so boundaries match on-screen wrapping
during scroll/resize/streaming reflow. Drag selection resets the click
tracker to avoid accidental multi-click accumulation.
Tests cover click expansion, resets (time, movement, line change, drag),
and paragraph detection across spacer lines between history cells.