lengthWithoutEscapeCodes property

int get lengthWithoutEscapeCodes

Returns the length of the string without escape codes.

Implementation

int get lengthWithoutEscapeCodes => ansiRemoveEscapeCodes().length;