TerminalOutputProbe
interface exported by @mwillbanks/tuil-core.
interface
Public interface exported by @mwillbanks/tuil-core.
export interface TerminalOutputProbe {
readonly isTTY?: boolean;
readonly columns?: number;
readonly rows?: number;
getColorDepth?(): number;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
isTTY | boolean | undefined | No | The isTTY member uses the boolean | undefined contract. | — |
columns | number | undefined | No | The columns member uses the number | undefined contract. | — |
rows | number | undefined | No | The rows member uses the number | undefined contract. | — |
getColorDepth | (() => number) | undefined | No | The getColorDepth member uses the (() => number) | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference