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

Method hasSelection

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

Source from the content-addressed store, hash-verified

2027 return this._model.finalSelectionEnd;
2028 }
2029 get hasSelection() {
2030 const e3 = this._model.finalSelectionStart, t3 = this._model.finalSelectionEnd;
2031 return !(!e3 || !t3 || e3[0] === t3[0] && e3[1] === t3[1]);
2032 }
2033 get selectionText() {
2034 const e3 = this._model.finalSelectionStart, t3 = this._model.finalSelectionEnd;
2035 if (!e3 || !t3) return "";

Callers 3

ScrollKeybindingHandlerFunction · 0.45
hasSelectionMethod · 0.45
useCopyOnSelectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected