MCPcopy
hub / github.com/codeaashu/claude-code / handleTrim

Method handleTrim

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

Source from the content-addressed store, hash-verified

1623 return !(!e3 || !t3) && (e3[1] > t3[1] || e3[1] === t3[1] && e3[0] > t3[0]);
1624 }
1625 handleTrim(e3) {
1626 return this.selectionStart && (this.selectionStart[1] -= e3), this.selectionEnd && (this.selectionEnd[1] -= e3), this.selectionEnd && this.selectionEnd[1] < 0 ? (this.clearSelection(), true) : (this.selectionStart && this.selectionStart[1] < 0 && (this.selectionStart[1] = 0), false);
1627 }
1628 };
1629 }, 428: function(e2, t2, i2) {
1630 var s2 = this && this.__decorate || function(e3, t3, i3, s3) {

Callers 1

_handleTrimMethod · 0.80

Calls 1

clearSelectionMethod · 0.45

Tested by

no test coverage detected