const std = @import("std"); const zut = @import("zut.zig"); const io = std.io; const stdout = io.getStdOut().writer(); pub fn main() !void { // const key = try zut.get_key(); while (true) { const key = try zut.get_key(); if (key == zut.Key.q) { break; } try stdout.print("{}\n", .{key}); } // switch (key) { // .a => try stdout.print("a", .{}), // .b => try stdout.print("b", .{}), // else => try stdout.print("Not supported: {}", .{key}), // } }