Files
klz-cables.com/.pnpm-store/v10/files/32/9725348460423d67a85f7481471150ce8410bd1ad448850c5591054b280fc891594764583200839184c057220f21ed437de38b28225ad639c23769aea714cd
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

21 lines
727 B
Plaintext

/**
* Returns the width of a single character in terminal columns.
* @param ucs - The Unicode code point of the character
* @returns The width of the character in terminal columns:
* - 0 for null character
* - -1 for control characters
* - 0 for non-spacing characters
* - 1 for normal characters
* - 2 for wide characters (East Asian)
*/
declare function wcwidth(ucs: number): number;
/**
* Returns the width of a string in terminal columns.
* @param pwcs - The string to measure
* @returns The width of the string in terminal columns, or -1 if the string contains control characters
*/
declare function wcswidth(pwcs: string): number;
export { wcwidth, wcswidth };