Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ toTerminalHyperlink
Function
toTerminalHyperlink
apps/kimi-code/src/utils/terminal-hyperlink.ts:1–3 ·
view source on GitHub ↗
(text: string, url: string)
Source
from the content-addressed store, hash-verified
1
export
function
toTerminalHyperlink(text: string, url: string): string {
2
return
`\u001B]8;;${url}\u0007${text}\u001B]8;;\u0007`;
3
}
Callers
4
buildTitle
Method · 0.90
handleExportMdCommand
Function · 0.90
handleExportDebugZipCommand
Function · 0.90
runShell
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected