Expand description
URL and path-preserving text wrapping.
Wraps text while keeping URLs and file paths as atomic units to preserve terminal link detection and transcript file hit-testing.
Functionsยง
- calculate_
wrapped_ height - Calculate wrapped height using Paragraph::line_count.
- contains_
preserved_ token - Check if text contains a preserved URL/path token.
- wrap_
line_ preserving_ urls - Wrap a line, preserving URLs as atomic units.
- wrap_
lines_ preserving_ urls - Wrap multiple lines with URL preservation.