emojicode
emojicode copied to clipboard
Unrecognized escape sequence βe
I'm trying to port some code from C to Emojicode and I'm trying to translate the following two lines:
printf("\x1b[2J");
printf("\x1b[H");
According to the documentation:
The escape character can also be used to produce the following characters:
ββ β βπ€ π€ βπ§² π§² βn New line (U+A0) βt Tab (U+09) βr Carriage return (U+0D) βe Escape (U+1B) All other combinations of a β and another character lead to a compiler error.
I'm assuming that \x1b is the same as U+1B.
However when I try to compile this Emojicode:
ππ€βe[2Jπ€β
ππ€βe[Hπ€β
I get the following compiler error:
./π©.π:10:6: π¨ error: Unrecognized escape sequence βe.
ππ€βe[2Jπ€β
β¬οΈ