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

Method getSelection

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

Source from the content-addressed store, hash-verified

684 this._selectionService.setSelection(e3, t3, i3);
685 }
686 getSelection() {
687 return this._selectionService ? this._selectionService.selectionText : "";
688 }
689 getSelectionPosition() {
690 if (this._selectionService && this._selectionService.hasSelection) return { start: { x: this._selectionService.selectionStart[0], y: this._selectionService.selectionStart[1] }, end: { x: this._selectionService.selectionEnd[0], y: this._selectionService.selectionEnd[1] } };
691 }

Callers 4

initTerminalFunction · 0.45
getSelectionMethod · 0.45
initTerminalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected