summaryrefslogtreecommitdiff
path: root/clap/codepoint_counting_writer.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update to Zig 0.15.0-dev.1147Gravatar Ivan Stepanov2025-07-211-32/+36
|
* refactor: Always access using full namespaceGravatar Jimmi Holst Christensen2024-10-221-4/+3
| | | | This is my new preferred style of programming Zig :)
* count codepoints instead of bytes, to determine widthGravatar owl2024-08-301-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