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

Method _handleAnyTextareaChanges

src/server/web/public/terminal.js:1152–1160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1150 }
1151 }
1152 _handleAnyTextareaChanges() {
1153 const e3 = this._textarea.value;
1154 setTimeout((() => {
1155 if (!this._isComposing) {
1156 const t3 = this._textarea.value, i3 = t3.replace(e3, "");
1157 this._dataAlreadySent = i3, t3.length > e3.length ? this._coreService.triggerDataEvent(i3, true) : t3.length < e3.length ? this._coreService.triggerDataEvent(`${a.C0.DEL}`, true) : t3.length === e3.length && t3 !== e3 && this._coreService.triggerDataEvent(t3, true);
1158 }
1159 }), 0);
1160 }
1161 updateCompositionElements(e3) {
1162 if (this._isComposing) {
1163 if (this._bufferService.buffer.isCursorInViewport) {

Callers 1

keydownMethod · 0.80

Calls 1

triggerDataEventMethod · 0.80

Tested by

no test coverage detected