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

Method shouldForceSelection

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

Source from the content-addressed store, hash-verified

2101 return t3 >= 0 && t3 <= i3 ? 0 : (t3 > i3 && (t3 -= i3), t3 = Math.min(Math.max(t3, -50), 50), t3 /= 50, t3 / Math.abs(t3) + Math.round(14 * t3));
2102 }
2103 shouldForceSelection(e3) {
2104 return d.isMac ? e3.altKey && this._optionsService.rawOptions.macOptionClickForcesSelection : e3.shiftKey;
2105 }
2106 handleMouseDown(e3) {
2107 if (this._mouseDownTimeStamp = e3.timeStamp, (2 !== e3.button || !this.hasSelection) && 0 === e3.button) {
2108 if (!this._enabled) {

Callers 2

bindMouseMethod · 0.80
handleMouseDownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected