(text: string)
| 55 | }); |
| 56 | |
| 57 | function stringToRow(text: string): IBufferLine { |
| 58 | const result = new BufferLine(text.length); |
| 59 | for (let i = 0; i < text.length; i++) { |
| 60 | result.setCell(i, CellData.fromCharData([0, text.charAt(i), 1, text.charCodeAt(i)])); |
| 61 | } |
| 62 | return result; |
| 63 | } |
| 64 | |
| 65 | function stringArrayToRow(chars: string[]): IBufferLine { |
| 66 | const line = new BufferLine(chars.length); |
no test coverage detected