()
| 27 | // and drain must agree on terminal detection. TERM_PROGRAM check is the sync |
| 28 | // fallback; isXtermJs() is the authoritative XTVERSION-probe result. |
| 29 | function isXtermJsHost(): boolean { |
| 30 | return process.env.TERM_PROGRAM === 'vscode' || isXtermJs() |
| 31 | } |
| 32 | |
| 33 | // Per-frame scratch: row bands touched by layout-affecting changes |
| 34 | // (position/size shifts, hidden nodes, removed children, and scroll-region |
no test coverage detected