{"version":"2.1.289","anchor":"text-measurement-handles-tabs-and-per-segment-text","canonical_anchor":"text-measurement-handles-tabs-and-per-segment-text","heading":"Text containing tabs is measured the same way it is drawn","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.289\/e\/text-measurement-handles-tabs-and-per-segment-text","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.289","markdown":"### Text containing tabs is measured the same way it is drawn\n\nClaude Code now expands tabs and respects the wrapping mode when measuring text width, so layout matches what appears on screen\n\n**Unclear.** The exact effect on how text is laid out on screen is not established.\n\n**What**\n\nWhen Claude Code works out how wide a piece of text is on screen, it now expands tab characters and takes the text's wrapping mode into account. Before, it used one of two separate measuring methods depending on the wrapping mode.\n\n**Why**\n\nText that contains tabs should now line up as expected, because the space it is given matches the space it takes when drawn.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}