Files
codex/codex-rs/tui
Felipe Coury 9d11b38fe7 Add cell-aware mouse selection to transcript tables (#61380)
## What changed

- Keep drags within a wrapped table cell scoped to that cell's text. Dragging into another cell selects a rectangle of complete cells.
- Let triple-click select an entire cell, including from its padding, and extend or shrink the selection by dragging.
- Preserve table structure, empty rows, alignment, and escaped literal pipes when copying rectangles. Keep inline Markdown formatting when copying cell text.
- Support grid and stacked record layouts, and return to ordinary text selection when a character drag leaves the table or selection continues with the keyboard.

## Testing

Add regression tests and highlight snapshots covering wrapped cells, reverse and repeated drags, padding, empty cells, stacked records, copy-on-select, clipboard formatting, and selection after resizing.

GitOrigin-RevId: 32e9a6e7781b0a25914907a0ef8f8c28bbaa21f5
2026-11-13 21:50:54 +00:00
..