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,9 +1,9 @@
import { Text } from "ink";
import { useEffect, useRef, useState } from "react";
import { searchFiles } from "../helpers/fileSearch";
import { useAutocompleteNavigation } from "../hooks/useAutocompleteNavigation";
import { AutocompleteBox, AutocompleteItem } from "./Autocomplete";
import { colors } from "./colors";
import { Text } from "./Text";
import type { AutocompleteProps, FileMatch } from "./types/autocomplete";
// Extract the text after the "@" symbol where the cursor is positioned