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.
Parameters
Section titled “Parameters”region
Section titled “region”readonly string[]
Redrawn in place, and erased by the following call.
scrollback?
Section titled “scrollback?”readonly string[]
Written above the region and kept.
Returns
Section titled “Returns”string
The text to write. Empty when there is nothing to do.