summaryrefslogtreecommitdiff
path: root/clap/codepoint_counting_writer.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
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