A crash in one terminal-layout listener no longer breaks layout for the rest of the interface
The engine that manages the terminal interface's layout now catches errors thrown by individual layout listeners instead of letting one failing listener crash layout for everything else. When a listener throws, Claude Code pauses all layout listeners until the current update finishes, logs a warning ("ink layout listener threw; layout listeners paused until this flush unwinds"), and caps how much debug logging it produces, noting once the cap is reached.
This makes the terminal interface more resilient: a bug in one part of the layout system no longer takes down the whole display.