Skip to content

Commit 703f55f

Browse files
authored
chore: fix lint around control chars (#421)
1 parent 08b58f5 commit 703f55f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/prompts/src/task-log.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ interface BufferEntry {
3737
}
3838

3939
const stripDestructiveANSI = (input: string): string => {
40+
// biome-ignore lint/suspicious/noControlCharactersInRegex: intentional
4041
return input.replace(/\x1b\[(?:\d+;)*\d*[ABCDEFGHfJKSTsu]|\x1b\[(s|u)/g, '');
4142
};
4243

0 commit comments

Comments
 (0)