MCPcopy Create free account
hub / github.com/anomalyco/opencode / write

Function write

packages/tui/src/clipboard.ts:120–124  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

118}
119
120export async function write(text: string) {
121 writeOsc52(text)
122 const method = await getCopyMethod()
123 await method(text)
124}

Callers 2

closeAcceptedFunction · 0.50
pty.tsFile · 0.50

Calls 3

writeOsc52Function · 0.85
getCopyMethodFunction · 0.85
methodFunction · 0.50

Tested by

no test coverage detected