Skip to content

LiveRegion

LiveRegion = (region, scrollback?) => string

Defined in: live-region.ts:41

Emits the next frame of a live region: erases whatever the previous call wrote, appends any permanent lines, then draws the region again.

readonly string[]

Redrawn in place, and erased by the following call.

readonly string[]

Written above the region and kept.

string

The text to write. Empty when there is nothing to do.