it's late ok????

This commit is contained in:
Hamcha 2024-05-08 01:17:51 +02:00
parent 6cefd844d5
commit 365253d089
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -33,7 +33,7 @@ pub fn main() !void {
const next = try reader.readByte(); const next = try reader.readByte();
std.debug.print("{x}: ", .{y}); std.debug.print("{x}: ", .{y});
for (0..8) |x| { for (0..8) |x| {
if (@as(u1, @truncate(next >> @truncate(8 - x))) == 1) { if (@as(u1, @truncate(next >> @truncate(7 - x))) == 1) {
std.debug.print("*", .{}); std.debug.print("*", .{});
} else { } else {
std.debug.print(" ", .{}); std.debug.print(" ", .{});