How do I translate this line of python to zig? It doesnt let me escape the 0
.
src/main.zig:61:32: error: invalid escape character: '0'
try out.writeBytesNTimes("\033[F", 5);
How do I translate this line of python to zig? It doesnt let me escape the 0
.
src/main.zig:61:32: error: invalid escape character: '0'
try out.writeBytesNTimes("\033[F", 5);
There are no octal escape sequences in zig.
Octal 033 is hex 1b and decimal 27. It becomes "\x1b[F"
Thank you!