Skip to content

Function: serializeScreen()

@termwright/test


@termwright/test / serializeScreen

serializeScreen(screen, options?): string

Defined in: test/src/cells.ts:45

Renders the visible grid.

Pick<ScreenSnapshot, "columns" | "rows" | "cell">

CellSnapshotOptions = {}

string

┌─ 20×3 ─────────────┐
│Permission required │
│ [Approve] Reject │
└────────────────────┘