{"version":"2.1.228","anchor":"terminal-recovers-from-a-failed-layout-pass","canonical_anchor":"terminal-recovers-from-a-failed-layout-pass","heading":"Terminal recovers from a failed layout pass","tier":"notice","area":"Terminal UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228\/e\/terminal-recovers-from-a-failed-layout-pass","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228","markdown":"### Terminal recovers from a failed layout pass\n\nA failed layout measurement now clears the cache and redraws instead of showing a broken frame.\n\n**What**\n\nIf the terminal layout engine throws while measuring a frame, the renderer now clears its cached layout and retries from scratch. If the retry also fails, that frame is skipped rather than drawn broken, and the fault is reported to error tracking once.\n\n**Details**\n\n- New renderer state tracks whether the last layout failed and how many have failed consecutively.\n- When the thrown value is not an error, it is reported with the description `ink layout pass threw a value that cannot be described`.\n- None of this recovery path existed in v2.1.227.\n\n**Evidence**\n\n`ink layout pass threw a value that cannot be described`\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5"}