feat: better hyperlink formatting

This commit is contained in:
Brooklyn Nicholson 2026-04-09 15:13:43 -05:00
parent 74241328f0
commit b7d4ea1550
2 changed files with 18 additions and 5 deletions

View file

@ -5,7 +5,7 @@ const ANSI_RE = /\x1b\[[0-9;]*m/g
export const stripAnsi = (s: string) => s.replace(ANSI_RE, '')
export const hasAnsi = (s: string) => s.includes('\x1b[')
export const hasAnsi = (s: string) => s.includes('\x1b[') || s.includes('\x1b]')
const renderEstimateLine = (line: string) => {
const trimmed = line.trim()