@boost/terminalFunctionslinklink Callablelink(text: string, url: string): stringCan be used to wrap a piece of text in an ANSI escape code hyperlink. If a terminal does not support hyperlinks, it will pass the text through. import { link } from '@boost/terminal';const text = link('Read the manual', 'https://boostlib.dev');
Can be used to wrap a piece of text in an ANSI escape code hyperlink. If a terminal does not support hyperlinks, it will pass the text through.