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

Function copyAndToast

src/components/ScrollKeybindingHandler.tsx:399–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

397 });
398 }
399 function copyAndToast(): void {
400 const text_0 = selection.copySelection();
401 if (text_0) showCopiedToast(text_0);
402 }
403
404 // Translate selection to track a keyboard page jump. Selection coords are
405 // screen-buffer-local; a scrollTo that moves content by N rows must also

Callers 1

ScrollKeybindingHandlerFunction · 0.85

Calls 2

showCopiedToastFunction · 0.85
copySelectionMethod · 0.80

Tested by

no test coverage detected