(e3, t3 = false)
| 2940 | i3 && (i3.fill(this._activeBuffer.getNullCell(this._eraseAttrData()), t3), this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase + e3), i3.isWrapped = false); |
| 2941 | } |
| 2942 | eraseInDisplay(e3, t3 = false) { |
| 2943 | let i3; |
| 2944 | switch (this._restrictCursor(this._bufferService.cols), e3.params[0]) { |
| 2945 | case 0: |
| 2946 | for (i3 = this._activeBuffer.y, this._dirtyRowTracker.markDirty(i3), this._eraseInBufferLine(i3++, this._activeBuffer.x, this._bufferService.cols, 0 === this._activeBuffer.x, t3); i3 < this._bufferService.rows; i3++) this._resetBufferLine(i3, t3); |
| 2947 | this._dirtyRowTracker.markDirty(i3); |
| 2948 | break; |
| 2949 | case 1: |
| 2950 | for (i3 = this._activeBuffer.y, this._dirtyRowTracker.markDirty(i3), this._eraseInBufferLine(i3, 0, this._activeBuffer.x + 1, true, t3), this._activeBuffer.x + 1 >= this._bufferService.cols && (this._activeBuffer.lines.get(i3 + 1).isWrapped = false); i3--; ) this._resetBufferLine(i3, t3); |
| 2951 | this._dirtyRowTracker.markDirty(0); |
| 2952 | break; |
| 2953 | case 2: |
| 2954 | for (i3 = this._bufferService.rows, this._dirtyRowTracker.markDirty(i3 - 1); i3--; ) this._resetBufferLine(i3, t3); |
| 2955 | this._dirtyRowTracker.markDirty(0); |
| 2956 | break; |
| 2957 | case 3: |
| 2958 | const e4 = this._activeBuffer.lines.length - this._bufferService.rows; |
| 2959 | e4 > 0 && (this._activeBuffer.lines.trimStart(e4), this._activeBuffer.ybase = Math.max(this._activeBuffer.ybase - e4, 0), this._activeBuffer.ydisp = Math.max(this._activeBuffer.ydisp - e4, 0), this._onScroll.fire(0)); |
| 2960 | } |
| 2961 | return true; |
| 2962 | } |
| 2963 | eraseInLine(e3, t3 = false) { |
| 2964 | switch (this._restrictCursor(this._bufferService.cols), e3.params[0]) { |
| 2965 | case 0: |
no test coverage detected