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

@@ -15,7 +15,7 @@
* SubagentGroupStatic instead (a pure props-based snapshot with no hooks).
*/
import { Box, Text, useInput } from "ink";
import { Box, useInput } from "ink";
import { memo, useSyncExternalStore } from "react";
import { useAnimation } from "../contexts/AnimationContext.js";
import { formatStats, getTreeChars } from "../helpers/subagentDisplay.js";
@@ -28,6 +28,7 @@ import {
import { useTerminalWidth } from "../hooks/useTerminalWidth.js";
import { BlinkDot } from "./BlinkDot.js";
import { colors } from "./colors.js";
import { Text } from "./Text";
function formatToolArgs(argsStr: string): string {
try {