Describe the bug
byexample -l python x.py with a 3.13 python interpreter
The problem is that in 3.13 the interpreter now renders the prompt with colors, it autoindents and does more terminal/cursor control/movements. byexample filters correctly the colors but it cannot emulate all the cursor movements (not even with term=ansi) and it has no way to detect the autoindents.
Expected behavior
Test should work
byexample version
byexample 10.5.2 (Python 3.13.1)