chore: remove unused exports and redundant hook files (#18681)

This commit is contained in:
Sandy Tao
2026-02-09 15:01:23 -08:00
committed by GitHub
parent ef957a368d
commit 14219bb57d
5 changed files with 1 additions and 142 deletions

View File

@@ -179,13 +179,6 @@ export const getCachedStringWidth = (str: string): number => {
return width;
};
/**
* Clear the string width cache
*/
export const clearStringWidthCache = (): void => {
stringWidthCache.clear();
};
const regex = ansiRegex();
/* Recursively traverses a JSON-like structure (objects, arrays, primitives)