Fix the broken links to the latest valid links (#184131)

This commit is contained in:
Hans 2024-01-30 02:09:11 +08:00 committed by GitHub
parent 16d3c2da9c
commit bc00185b3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ export function handleANSIOutput(text: string, linkOptions: LinkOptions): HTMLSp
let sequenceFound: boolean = false;
// Potentially an ANSI escape sequence.
// See http://ascii-table.com/ansi-escape-sequences.php & https://en.wikipedia.org/wiki/ANSI_escape_code
// See https://www.asciitable.com/ansi-escape-sequences.php & https://en.wikipedia.org/wiki/ANSI_escape_code
if (text.charCodeAt(currentPos) === 27 && text.charAt(currentPos + 1) === '[') {
const startPos: number = currentPos;