highlightMatch() was replacing tokens inside ANSI escape codes, corrupting sequences like [38;2;123;127;135m when searching for '2'. Fix: apply highlighting to plain text before theme styling.
highlightMatch() was replacing tokens inside ANSI escape codes, corrupting sequences like [38;2;123;127;135m when searching for '2'. Fix: apply highlighting to plain text before theme styling.