Helper to create CellData from CharData.
(value: CharData)
| 14 | export class CellData extends AttributeData implements ICellData { |
| 15 | /** Helper to create CellData from CharData. */ |
| 16 | public static fromCharData(value: CharData): CellData { |
| 17 | const obj = new CellData(); |
| 18 | obj.setFromCharData(value); |
| 19 | return obj; |
| 20 | } |
| 21 | /** Primitives from terminal buffer. */ |
| 22 | public content = 0; |
| 23 | public fg = 0; |