mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-26 06:48:33 +00:00
Lots of 0.14 changes
This commit is contained in:
@@ -27,7 +27,7 @@ pub const Button = enum(c_int) {
|
||||
/// packed array, for example.
|
||||
pub const max = max: {
|
||||
var cur = 0;
|
||||
for (@typeInfo(Self).Enum.fields) |field| {
|
||||
for (@typeInfo(Self).@"enum".fields) |field| {
|
||||
if (field.value > cur) cur = field.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user