You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prevent strip_codes from matching across OSC 8 sequences
Changes the OSC sequence regex from .*? to [^\x1b]* to prevent
matching across escape sequence boundaries. This fixes a bug where
text between OSC 8 hyperlinks was incorrectly stripped in terminals
with proper OSC 8 support (e.g., Ghostty).
The new pattern stops at the first escape sequence terminator rather
than potentially continuing to a later one, preventing over-matching.
Fixes two failing tests:
- test_strip_codes_preserves_text_between_osc8_hyperlinks
- test_strip_codes_with_ui_link
0 commit comments