/// A sequence of escape codes to enable terminal mouse support.constENTER_MOUSE_SEQUENCE:&'staticstr=csi!("?1000h\x1b[?1002h\x1b[?1015h\x1b[?1006h");/// A sequence of escape codes to disable terminal mouse support.constEXIT_MOUSE_SEQUENCE:&'staticstr=csi!("?1006l\x1b[?1015l\x1b[?1002l\x1b[?1000l");
Just a remark
I tested with 0.10.0 or 0.11.0 dev 945
I have a problem with
tty = try fs.cwd().openFile("/dev/tty", .{ .read = true, .write = true });
and I returned:
tty = fs.cwd().openFile("/dev/tty", .{ .mode = .read_write}) catch unreachable;
I agree! For some reason, this program outright doesn't work at all on my machine. Was this article based on some older version of Zig? (I use Zig 0.14)
luckily, i found some code in termion to do that.
Thank you
Just a remark
I tested with 0.10.0 or 0.11.0 dev 945
I have a problem with
tty = try fs.cwd().openFile("/dev/tty", .{ .read = true, .write = true });
and I returned:
tty = fs.cwd().openFile("/dev/tty", .{ .mode = .read_write}) catch unreachable;
i work with linux
I agree! For some reason, this program outright doesn't work at all on my machine. Was this article based on some older version of Zig? (I use Zig 0.14)
exemple: ok for 0.13.0 or 0.14. dev