renderTerminalImage
function exported by @mwillbanks/tuil-ink.
function
Public function exported by @mwillbanks/tuil-ink.
export function renderTerminalImage(
source: TerminalImageSource,
columns = source.width,
color = true,
): string;Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
source | TerminalImageSource | Yes | Supplies the source value as TerminalImageSource. | TerminalImageSource |
columns | unknown | No | Supplies the columns value as unknown. | — |
color | unknown | No | Supplies the color value as unknown. | — |
Returns
string — Returns a value that satisfies string.
Related types: —
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference