remove set with CharData from codebase and deprecate method

This commit is contained in:
Jörg Breitbart
2019-01-12 16:15:24 +01:00
parent 3e456971b1
commit ece7192db7
8 changed files with 142 additions and 137 deletions
+4
View File
@@ -165,6 +165,10 @@ export class BufferLine implements IBufferLine {
];
}
/**
* Set cell data from CharData.
* @deprecated
*/
public set(index: number, value: CharData): void {
this._data[index * CELL_SIZE + Cell.FG] = value[CHAR_DATA_ATTR_INDEX];
if (value[CHAR_DATA_CHAR_INDEX].length > 1) {