Files
codex/codex-rs/tui2
Josh McKinney 4ce57ef890 fix(tui2): improve multi-click selection reliability
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.
2025-12-23 10:25:40 -08:00
..