(line: BufferLine)
| 511 | }); |
| 512 | describe('correct fullwidth handling', () => { |
| 513 | function populate(line: BufferLine): void { |
| 514 | const cell = CellData.fromCharData([1, '¥', 2, '¥'.charCodeAt(0)]); |
| 515 | for (let i = 0; i < line.length; i += 2) { |
| 516 | line.setCell(i, cell); |
| 517 | } |
| 518 | } |
| 519 | it('insert - wide char at pos', () => { |
| 520 | const line = new TestBufferLine(10, CellData.fromCharData([DEFAULT_ATTR, NULL_CELL_CHAR, 0, NULL_CELL_CODE]), false); |
| 521 | populate(line); |
no test coverage detected