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,5 +1,5 @@
// Import useInput from vendored Ink for bracketed paste support
import { Box, Text, useInput } from "ink";
import { Box, useInput } from "ink";
import type React from "react";
import { memo, useEffect, useMemo, useState } from "react";
import type { ApprovalContext } from "../../permissions/analyzer";
@@ -14,6 +14,7 @@ import type { ApprovalRequest } from "../helpers/stream";
import { AdvancedDiffRenderer } from "./AdvancedDiffRenderer";
import { colors } from "./colors";
import { PasteAwareTextInput } from "./PasteAwareTextInput";
import { Text } from "./Text";
type Props = {
approvals: ApprovalRequest[];