stripAnsi
function stripAnsi(input): string;Strip all ANSI escape codes from a string. Useful for measuring visible width.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | string |
Returns
Section titled “Returns”string
function stripAnsi(input): string;Strip all ANSI escape codes from a string. Useful for measuring visible width.
| Parameter | Type |
|---|---|
input | string |
string