MCPcopy Create free account
hub / github.com/anus-dev/ANUS / createPasteKeyEvent

Function createPasteKeyEvent

packages/cli/src/ui/contexts/KeypressContext.tsx:339–348  ·  view source on GitHub ↗
(
          name: 'paste-start' | 'paste-end',
        )

Source from the content-addressed store, hash-verified

337 keypressStream.write(nextData);
338 }
339 const createPasteKeyEvent = (
340 name: 'paste-start' | 'paste-end',
341 ): Key => ({
342 name,
343 ctrl: false,
344 meta: false,
345 shift: false,
346 paste: false,
347 sequence: '',
348 });
349 if (isPrefixNext) {
350 handleKeypress(undefined, createPasteKeyEvent('paste-start'));
351 } else if (isSuffixNext) {

Callers 1

handleRawKeypressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected