{"version":"2.1.295","anchor":"terminal-escape-stripping-now-keeps-only-sgr-sequences-match","canonical_anchor":"terminal-escape-stripping-now-keeps-only-sgr-sequences-match","heading":"Color codes kept from tool output are checked against a stricter pattern","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/terminal-escape-stripping-now-keeps-only-sgr-sequences-match","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Color codes kept from tool output are checked against a stricter pattern\n\nWhen cleaning terminal control codes out of output, Claude Code now checks each color or style code against a pattern before keeping it\n\n**What**\n\nTerminal output can contain hidden control codes, for example to change color or make text bold. When Claude Code cleans these codes out of output, it keeps the ones that set color and style. It used to keep such a code if it ended in `m` and contained only digits and semicolons. It now checks the whole code against a pattern instead.\n\n**Why**\n\nThis affects which control codes from tool output make it through to your screen.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}