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

Function wrapWithOsc8Link

src/ink/render-node-to-output.ts:184–186  ·  view source on GitHub ↗
(text: string, url: string)

Source from the content-addressed store, hash-verified

182const BEL = '\u0007'
183
184function wrapWithOsc8Link(text: string, url: string): string {
185 return `${OSC}8;;${url}${BEL}${text}${OSC}8;;${BEL}`
186}
187
188/**
189 * Build a mapping from each character position in the plain text to its segment index.

Callers 2

applyStylesToWrappedTextFunction · 0.70
renderNodeToOutputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected