Open
Description
Hello,
I encountered an issue while using the Piston API with C++. When I run the following code:
#include <iostream>
using namespace std;
int main() {
cout << "ABCD\b\b1234" << endl;
return 0;
}
In other compilers, the output I get is:
AB1234
However, when I try the same code using the Piston API, it does not produce the expected result.
Expected Output:
AB1234
Actual Output:
ABCD1234
The backspace (\b) escape sequence does not seem to function as expected, and the carriage return (\r) appears to have similar behavior.
I would appreciate it if you could look into this issue or provide guidance on how to handle escape sequences like \b and \r with the Piston API. Thank you for your time and assistance!
Metadata
Metadata
Assignees
Labels
No labels