fix(tui): skip OSC 8 scan for plain prefixes (#7665)

This commit is contained in:
Kurt Himebauch 2026-08-05 15:28:59 -04:00 • committed by GitHub
parent 8ecf8a9883
commit 229afb825c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -480,6 +480,10 @@ function formatOsc8Close(terminator: Osc8Terminator): string {
}
function getActiveOsc8Close(prefix: string): string {
if (!prefix.includes("\x1b]8;")) {
return "";
}
let activeHyperlink: ActiveHyperlink | null = null;
let i = 0;
while (i < prefix.length) {