direct cell attrs getter

This commit is contained in:
Jörg Breitbart
2019-01-04 19:14:56 +01:00
parent 6552a023c1
commit b93b774971
2 changed files with 51 additions and 0 deletions
+10
View File
@@ -545,4 +545,14 @@ export interface IBufferLine {
clone(): IBufferLine;
getTrimmedLength(): number;
translateToString(trimRight?: boolean, startCol?: number, endCol?: number): string;
/* direct access to cell attrs */
getWidth(index: number): number;
hasWidth(index: number): number;
getFG(index: number): number;
getBG(index: number): number;
hasContent(index: number): number;
getCodePoint(index: number): number;
isCombined(index: number): number;
getString(index: number): string;
}