fix: <Text> encoding non-ascii characters in Bun (#760)

This commit is contained in:
Kainoa Kanter
2026-01-31 19:43:13 -08:00
committed by GitHub
parent 0714a8f254
commit 2404014f3d
73 changed files with 214 additions and 128 deletions

View File

@@ -1,6 +1,6 @@
// existsSync, readFileSync removed - no longer needed since plan content
// is shown via StaticPlanApproval during approval, not in tool result
import { Box, Text } from "ink";
import { Box } from "ink";
import { memo } from "react";
import { INTERRUPTED_BY_USER } from "../../constants";
import { clipToolReturn } from "../../tools/manager.js";
@@ -23,6 +23,7 @@ import {
isTaskTool,
isTodoTool,
} from "../helpers/toolNameMapping.js";
import { Text } from "./Text";
/**
* Check if tool is AskUserQuestion