terminal: Add `pin_map/point_map` to formatter (#9379)

This adds the option `pin_map` or `point_map` (for pages) to formatter,
allowing callers to get a byte-by-byte mapping for where on the screen
each encoding maps to. This is used by search internals and hyperlinks.
I haven't hooked that all up yet. This diff was big enough I wanted this
as one.

Tests significantly cover the new feature.

Next up, we'll rip out `selectionString` and replace it with formatters!
pull/9391/head
Mitchell Hashimoto 2025-10-28 11:23:16 -07:00 committed by GitHub
parent 17f2dc59fa
commit d62235cb62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1428 additions and 72 deletions

File diff suppressed because it is too large Load Diff