From 71f0b19476adb170c24d6a8de4ab3133701b1aeb Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 20:39:36 +0300 Subject: Fix macOS builds on Apple Silicon and Intel --- include/term/unicode/width.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/term/unicode/width.h') diff --git a/include/term/unicode/width.h b/include/term/unicode/width.h index fc639c8..388ae6c 100644 --- a/include/term/unicode/width.h +++ b/include/term/unicode/width.h @@ -32,7 +32,7 @@ static inline int unicode_width(uint32_t cp) return -1; if (IN_TABLE(zero_width, cp)) return 0; - return IN_TABLE(wide, cp) ? 2 : 1; + return IN_TABLE(unicode_wide, cp) ? 2 : 1; } static inline bool unicode_extended_pictographic(uint32_t cp) -- cgit v1.2.3