Versions 7 to 318
new file, 89 lines
3+
11+
13+
20+
26+
33+ // By value, as a terminal reads it (Security 2): leading zeros and a sub-parameter are still 8.
40+
45+ assert.equal(terminalText(link, true), "\\x1b]8;;https://evil.example\\x1b\\click\\x1b]8;;\\x1b\\");
47+
56+
64+
65+ it("the client's own output goes through it: an error naming text with escapes prints them as text", async () => {
79+ execFile(process.execPath, [client, `frob${ESC}]52;c;aGk=\x07`], { cwd: dir, env }, (_e, stdout, stderr) =>
- MCP
- compare on this site's /mcp
- CLI
- abso diff 7 318 client/test/terminal-text.test.ts --json
- JSON
- /christopher/abso-core/compare/7..318?file=client%2Ftest%2Fterminal-text.test.ts&format=json