1
0
Fork 0

fix boolean

This commit is contained in:
Jeffrey C. Ollie 2024-09-06 20:28:31 -05:00
parent 4d11ff3bd9
commit b642369b56
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -259,7 +259,7 @@ pub fn main() !void {
}
});
}
if (random.bool()) {
if (random.boolean()) {
for (0..random.int(u5)) |_| {
try osc_writer.writeByte(byte: {
while (true) {
@ -270,7 +270,7 @@ pub fn main() !void {
}
}
}
if (random.bool()) try osc_writer.writeByte(';');
if (random.boolean()) try osc_writer.writeByte(';');
try osc_writer.writeAll("\x1b\\");
const osc = osc_fbs.getWritten();