mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 05:20:29 +00:00
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:
committed by
GitHub
parent
17f2dc59fa
commit
d62235cb62