IOAPKCX4L6JGYKZJDAL6WDJP7A4GF5AFWKJBATP2RZBLRWYVT4MAC
WSERXAIGQNNWEH45XL3WIUFOCGSMR76PXW72JZLR3KIMNWGVWPIQC
TJLBC4ZGNZU5NMW2RBXHYUYRLV5T5VG5TYXWXDB5IBRM2OXPECVAC
ZQVBGUNE3UJGAPHTBGMZUM3YGSUNFH5CZ26V4DTTYOQZIMYAM2QAC
const os = std.os;
var origTermios: os.termios = undefined;
defer disableRawMode(stdin); errdefer disableRawMode(stdin);
defer disableRawMode(stdin);
errdefer disableRawMode(stdin);
var termState = try std.os.tcgetattr(stdin.handle);
origTermios = try os.tcgetattr(stdin.handle);
var termState = origTermios;
try std.os.tcsetattr(stdin.handle, linux.TCSA.FLUSH, termState);
try os.tcsetattr(stdin.handle, linux.TCSA.FLUSH, termState);
fn disableRawMode(stdin: std.fs.File) void { os.tcsetattr(stdin.handle, linux.TCSA.FLUSH, origTermios) catch |err| { std.debug.print("{s}", .{err}); return; };}
fn disableRawMode(stdin: std.fs.File) void {
os.tcsetattr(stdin.handle, linux.TCSA.FLUSH, origTermios) catch |err| {
std.debug.print("{s}", .{err});
return;
};
}