MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _inputEvent

Method _inputEvent

src/server/web/public/terminal.js:737–745  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

735 return !(!t3 || (e3.altKey || e3.ctrlKey || e3.metaKey) && !this._isThirdLevelShift(this.browser, e3) || (t3 = String.fromCharCode(t3), this._onKey.fire({ key: t3, domEvent: e3 }), this._showCursor(), this.coreService.triggerDataEvent(t3, true), this._keyPressHandled = true, this._unprocessedDeadKey = false, 0));
736 }
737 _inputEvent(e3) {
738 if (e3.data && "insertText" === e3.inputType && (!e3.composed || !this._keyDownSeen) && !this.optionsService.rawOptions.screenReaderMode) {
739 if (this._keyPressHandled) return false;
740 this._unprocessedDeadKey = false;
741 const t3 = e3.data;
742 return this.coreService.triggerDataEvent(t3, true), this.cancel(e3), true;
743 }
744 return false;
745 }
746 resize(e3, t3) {
747 e3 !== this.cols || t3 !== this.rows ? super.resize(e3, t3) : this._charSizeService && !this._charSizeService.hasValidSize && this._charSizeService.measure();
748 }

Callers 1

_bindKeysMethod · 0.95

Calls 2

cancelMethod · 0.95
triggerDataEventMethod · 0.80

Tested by

no test coverage detected