node v2 cli support (#36309)

This commit is contained in:
Simon Klee
2026-07-17 14:45:06 +02:00
committed by GitHub
parent 27e1692848
commit a1b274e6f8
75 changed files with 1502 additions and 367 deletions
@@ -170,7 +170,7 @@ async function renderOnceSettled(app: Awaited<ReturnType<typeof testRender>>) {
async function captureSettledFrame(app: Awaited<ReturnType<typeof testRender>>) {
for (let attempt = 0; attempt < 5; attempt++) {
const frame = app.captureCharFrame()
if (frame.trim().length > 0) return frame
if (visibleLines(frame).length > 0) return frame
await new Promise((resolve) => setTimeout(resolve, 25))
await app.renderOnce()
}