From 7aff48a428f5c9c765f71d364594a9f273d04e8a Mon Sep 17 00:00:00 2001 From: david Date: Tue, 13 Oct 2026 23:04:06 -0300 Subject: split text --- src/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helper.c') diff --git a/src/helper.c b/src/helper.c index f258d23..108e2b9 100644 --- a/src/helper.c +++ b/src/helper.c @@ -48,7 +48,7 @@ int utf8_decode(const unsigned char *bytes, unsigned long *codepoint){ } /* this turns the library's return value into a column count so 0 1 or 2 */ -static int codepoint_width(unsigned long codepoint){ +int codepoint_width(unsigned long codepoint){ int width = widechar_wcwidth(codepoint); if(width > 0) return width; -- cgit v1.3-2-g0d8e