We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6176ced commit 7bc9b43Copy full SHA for 7bc9b43
packages/prompts/src/task-log.ts
@@ -37,6 +37,7 @@ interface BufferEntry {
37
}
38
39
const stripDestructiveANSI = (input: string): string => {
40
+ // biome-ignore lint/suspicious/noControlCharactersInRegex: intentional
41
return input.replace(/\x1b\[(?:\d+;)*\d*[ABCDEFGHfJKSTsu]|\x1b\[(s|u)/g, '');
42
};
43
0 commit comments