File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11.{
2- .name = " chroma" ,
2+ .name = . chroma ,
33 // This is a [Semantic Version](https://semver.org/).
44 // In a future version of Zig it will be used for package deduplication.
55 .version = "0.1.2" ,
6+ .fingerprint = 0xfebb40f591910f74 ,
67
78 // This field is optional.
89 // This is currently advisory only; Zig does not yet do anything
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ pub fn format(comptime fmt: []const u8) []const u8 {
9797 at_least_one_color = true ;
9898 } else {
9999 var found = false ;
100- for (@typeInfo (AnsiCode ).Enum .fields ) | field | {
100+ for (@typeInfo (AnsiCode ).@ "enum" .fields ) | field | {
101101 if (std .mem .eql (u8 , field .name , maybe_color_fmt [start .. end ])) {
102102 // HACK: this would not work if I put bgMagenta for example as a color
103103 // TODO: fix this eheh
You canβt perform that action at this time.
0 commit comments