Merge pull request #3544 from xtermjs/tyriar/length_warning

Add warning to IBufferLine.length
This commit is contained in:
Daniel Imms
2021-11-05 09:09:37 -07:00
committed by GitHub
+3 -1
View File
@@ -1371,7 +1371,9 @@ declare module 'xterm' {
/**
* The length of the line, all call to getCell beyond the length will result
* in `undefined`.
* in `undefined`. Note that this may exceed columns as the line array may
* not be trimmed after a resize, compare against {@link Terminal.cols} to
* get the actual maximum length of a line.
*/
readonly length: number;