Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Print function in notebook not recognizing backspace character

The following gives different output in SageMath 9.1 in notebook (Jupyter) versus SageMath 9.1 in a terminal session. The terminal agrees with my local installation of Python 3.7 and give the (expected) output.

print("test\b\b\brun")

The Jupyter notebook cell returns "tesrun". The others return "trun".

Maybe some weird bug?