* Helper method to reset cells in a terminal row. The cell gets replaced with the eraseChar of * the terminal and the isWrapped property is set to false. * @param y row index
(y: number, respectProtect: boolean = false)
| 1163 | * @param y row index |
| 1164 | */ |
| 1165 | private _resetBufferLine(y: number, respectProtect: boolean = false): void { |
| 1166 | const line = this._activeBuffer.lines.get(this._activeBuffer.ybase + y); |
| 1167 | if (line) { |
| 1168 | line.fill(this._activeBuffer.getNullCell(this._eraseAttrData()), respectProtect); |
| 1169 | this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase + y); |
| 1170 | line.isWrapped = false; |
| 1171 | } |
| 1172 | } |
| 1173 | |
| 1174 | /** |
| 1175 | * CSI Ps J Erase in Display (ED). |
no test coverage detected