summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/shared/text-buffer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/components/shared/text-buffer.ts')
-rw-r--r--packages/cli/src/ui/components/shared/text-buffer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/components/shared/text-buffer.ts b/packages/cli/src/ui/components/shared/text-buffer.ts
index 4b7c3e79..7eb3088a 100644
--- a/packages/cli/src/ui/components/shared/text-buffer.ts
+++ b/packages/cli/src/ui/components/shared/text-buffer.ts
@@ -40,7 +40,7 @@ function isWordChar(ch: string | undefined): boolean {
*/
function stripUnsafeCharacters(str: string): string {
const stripped = stripAnsi(str);
- return toCodePoints(stripAnsi(stripped))
+ return toCodePoints(stripped)
.filter((char) => {
if (char.length > 1) return false;
const code = char.codePointAt(0);