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!
This commit is contained in:
Mitchell Hashimoto
2025-10-28 11:23:16 -07:00
committed by GitHub
parent 17f2dc59fa
commit d62235cb62

File diff suppressed because it is too large Load Diff