frameWidthFor
frameWidthFor(
columns):number
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/framing.ts:117
The width to frame at on a terminal reporting columns.
One column is held back because a row that fills the last cell wraps on some terminals, and the result is floored at MIN_FRAME_WIDTH. Both surfaces resolve their width here so they cannot come to disagree about how much of a command a human was shown.
Parameters
Section titled “Parameters”columns
Section titled “columns”number | undefined
Returns
Section titled “Returns”number