Terminal rendering now also flags image placeholder characters and broken surrogate pairs as unsafe control characters
Claude Code checks rendered text for raw control characters (characters that don't print visibly but can affect terminal behavior) when they appear outside its own escape-sequence handling. This check now also catches two more cases: image placeholder characters, and unpaired surrogate halves (broken pieces of certain multi-part Unicode characters that should always come in pairs).
Catching these additional cases helps prevent malformed or unexpected characters from corrupting terminal output or causing rendering glitches.