summaryrefslogtreecommitdiff
path: root/clap/codepoint_counting_writer.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-12-04fix: enable building on 32-bit platformsHEADmasterGravatar Jared Baur1-1/+1
Without this change, we get the following error when targeting 32bit platforms (e.g. arm-linux): "@fieldParentPtr increases pointer alignment".
2025-07-21Update to Zig 0.15.0-dev.1147Gravatar Ivan Stepanov1-32/+36
2024-10-22refactor: Always access using full namespaceGravatar Jimmi Holst Christensen1-4/+3
This is my new preferred style of programming Zig :)
2024-08-30count codepoints instead of bytes, to determine widthGravatar owl1-0/+102
A complete solution would be to count grapheme clusters, but that would require adding a dependency on something like zg. Counting codepoints will ensure that typical non-ASCII text is supported, but you can still throw it off with more complex Unicode constructions, which might not be so useful in help text. Fixes #75