(e3, t3 = false)
| 5539 | super(), this._bufferService = e3, this._logService = t3, this._optionsService = i3, this.isCursorInitialized = false, this.isCursorHidden = false, this._onData = this.register(new o.EventEmitter()), this.onData = this._onData.event, this._onUserInput = this.register(new o.EventEmitter()), this.onUserInput = this._onUserInput.event, this._onBinary = this.register(new o.EventEmitter()), this.onBinary = this._onBinary.event, this._onRequestScrollToBottom = this.register(new o.EventEmitter()), this.onRequestScrollToBottom = this._onRequestScrollToBottom.event, this.modes = (0, n.clone)(c), this.decPrivateModes = (0, n.clone)(l); |
| 5540 | } |
| 5541 | reset() { |
| 5542 | this.modes = (0, n.clone)(c), this.decPrivateModes = (0, n.clone)(l); |
| 5543 | } |
| 5544 | triggerDataEvent(e3, t3 = false) { |
| 5545 | if (this._optionsService.rawOptions.disableStdin) return; |
| 5546 | const i3 = this._bufferService.buffer; |
| 5547 | t3 && this._optionsService.rawOptions.scrollOnUserInput && i3.ybase !== i3.ydisp && this._onRequestScrollToBottom.fire(), t3 && this._onUserInput.fire(), this._logService.debug(`sending data "${e3}"`, (() => e3.split("").map(((e4) => e4.charCodeAt(0))))), this._onData.fire(e3); |
| 5548 | } |
no test coverage detected