Add tests for buffer.getLine

This commit is contained in:
Daniel Imms
2019-05-11 10:46:00 -07:00
parent d694eae6b5
commit 46995fdbc1
2 changed files with 51 additions and 1 deletions
+6 -1
View File
@@ -916,7 +916,12 @@ declare module 'xterm' {
getCell(x: number): IBufferCell;
/**
* Gets the line
* Gets the line as a string. Note that this is gets only the string for the line, not taking
* isWrapped into account.
*
* @param trimRight Whether to trim any whitespace at the right of the line.
* @param startColumn The column to start from (inclusive).
* @param endColumn The column to end at (exclusive).
*/
translateToString(trimRight?: boolean, startColumn?: number, endColumn?: number): string;
}