diff options
| author | 2024-02-18 08:48:03 -0400 | |
|---|---|---|
| committer | 2024-02-18 08:48:03 -0400 | |
| commit | 1404c85f513a88bbd399ab9f3453da71e7478727 (patch) | |
| tree | 0080678ceac38f223910d60bf650ebaddf27b0f9 /src/display_width.zig | |
| parent | Fixed isAsciiOnly and CodePointIterator ASCII bugs (diff) | |
| download | zg-1404c85f513a88bbd399ab9f3453da71e7478727.tar.gz zg-1404c85f513a88bbd399ab9f3453da71e7478727.tar.xz zg-1404c85f513a88bbd399ab9f3453da71e7478727.zip | |
Code point and grapheme are now namespaces.
Diffstat (limited to 'src/display_width.zig')
| -rw-r--r-- | src/display_width.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display_width.zig b/src/display_width.zig index ba76052..e52da38 100644 --- a/src/display_width.zig +++ b/src/display_width.zig | |||
| @@ -2,8 +2,8 @@ const std = @import("std"); | |||
| 2 | const simd = std.simd; | 2 | const simd = std.simd; |
| 3 | const testing = std.testing; | 3 | const testing = std.testing; |
| 4 | 4 | ||
| 5 | const CodePointIterator = @import("CodePoint").CodePointIterator; | 5 | const CodePointIterator = @import("code_point").Iterator; |
| 6 | const GraphemeIterator = @import("Grapheme").GraphemeIterator; | 6 | const GraphemeIterator = @import("grapheme").Iterator; |
| 7 | const dwp = @import("dwp"); | 7 | const dwp = @import("dwp"); |
| 8 | 8 | ||
| 9 | /// codePointWidth returns the number of cells `cp` requires when rendered | 9 | /// codePointWidth returns the number of cells `cp` requires when rendered |