Cotal TypeScript packages
Docs
API Reference
Preparing search index...
@cotal-ai/workspace
index
terminalWidth
Function terminalWidth
terminalWidth
(
stream
:
{
columns
?:
number
;
isTTY
?:
boolean
}
)
:
number
The columns a stream can show: its terminal's width, or unbounded when it is not a terminal.
Parameters
stream
:
{
columns
?:
number
;
isTTY
?:
boolean
}
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
API Reference
Cotal TypeScript packages
Loading...
The columns a stream can show: its terminal's width, or unbounded when it is not a terminal.