aboutsummaryrefslogtreecommitdiff
path: root/defs/helper.h
diff options
context:
space:
mode:
authordavid <[email protected]>2026-10-06 17:50:28 -0300
committerdavid <[email protected]>2026-10-06 17:50:28 -0300
commitee844db84596e8ba8e0b84f770d66b6e6fabb028 (patch)
tree65b8e208e6fcf28cbffd7a21c6b17bba6cb66642 /defs/helper.h
parent9a26c0c1732a36a2379296012833fa8537240ab3 (diff)
downloadmikusays-c-ee844db84596e8ba8e0b84f770d66b6e6fabb028.tar.gz
mikusays-c-ee844db84596e8ba8e0b84f770d66b6e6fabb028.zip
fixed utf-8 characters returning the wrong width with strlen. added a bunch of stuff
Diffstat (limited to 'defs/helper.h')
-rw-r--r--defs/helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/defs/helper.h b/defs/helper.h
new file mode 100644
index 0000000..d199cc2
--- /dev/null
+++ b/defs/helper.h
@@ -0,0 +1,6 @@
+#ifndef helper_h
+#define helper_h
+
+int displaywidth(const char *text);
+
+#endif