Add warning to IBufferLine.length

This commit is contained in:
Daniel Imms
2021-11-05 08:53:48 -07:00
parent 50c5579c83
commit 32cb95c7fb
+3 -1
View File
@@ -1343,7 +1343,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;