(url: string, text?: string)
| 38 | * @returns The formatted hyperlink |
| 39 | */ |
| 40 | export function hyperlink(url: string, text?: string): string { |
| 41 | const displayText = text || url |
| 42 | // OSC 8 format: \x1b]8;;URL\x07TEXT\x1b]8;;\x07 |
| 43 | return `\x1b]8;;${url}\x07${displayText}\x1b]8;;\x07` |
| 44 | } |
| 45 | |
| 46 | export function println(...message: string[]) { |
| 47 | print(...message) |
nothing calls this directly
no outgoing calls
no test coverage detected