(e3)
| 3316 | return (e3.length < 2 || (i3 = e3.params[1]) > this._bufferService.rows || 0 === i3) && (i3 = this._bufferService.rows), i3 > t3 && (this._activeBuffer.scrollTop = t3 - 1, this._activeBuffer.scrollBottom = i3 - 1, this._setCursor(0, 0)), true; |
| 3317 | } |
| 3318 | windowOptions(e3) { |
| 3319 | if (!w(e3.params[0], this._optionsService.rawOptions.windowOptions)) return true; |
| 3320 | const t3 = e3.length > 1 ? e3.params[1] : 0; |
| 3321 | switch (e3.params[0]) { |
| 3322 | case 14: |
| 3323 | 2 !== t3 && this._onRequestWindowsOptionsReport.fire(y.GET_WIN_SIZE_PIXELS); |
| 3324 | break; |
| 3325 | case 16: |
| 3326 | this._onRequestWindowsOptionsReport.fire(y.GET_CELL_SIZE_PIXELS); |
| 3327 | break; |
| 3328 | case 18: |
| 3329 | this._bufferService && this._coreService.triggerDataEvent(`${n.C0.ESC}[8;${this._bufferService.rows};${this._bufferService.cols}t`); |
| 3330 | break; |
| 3331 | case 22: |
| 3332 | 0 !== t3 && 2 !== t3 || (this._windowTitleStack.push(this._windowTitle), this._windowTitleStack.length > 10 && this._windowTitleStack.shift()), 0 !== t3 && 1 !== t3 || (this._iconNameStack.push(this._iconName), this._iconNameStack.length > 10 && this._iconNameStack.shift()); |
| 3333 | break; |
| 3334 | case 23: |
| 3335 | 0 !== t3 && 2 !== t3 || this._windowTitleStack.length && this.setTitle(this._windowTitleStack.pop()), 0 !== t3 && 1 !== t3 || this._iconNameStack.length && this.setIconName(this._iconNameStack.pop()); |
| 3336 | } |
| 3337 | return true; |
| 3338 | } |
| 3339 | saveCursor(e3) { |
| 3340 | return this._activeBuffer.savedX = this._activeBuffer.x, this._activeBuffer.savedY = this._activeBuffer.ybase + this._activeBuffer.y, this._activeBuffer.savedCurAttrData.fg = this._curAttrData.fg, this._activeBuffer.savedCurAttrData.bg = this._curAttrData.bg, this._activeBuffer.savedCharset = this._charsetService.charset, true; |
| 3341 | } |
no test coverage detected