Open gabrielfeo opened 1 year ago
Looks like it's related to the logic of CapturingOutputStream
. It flushes the buffer i.e. if some time limit is reached.
In this particular case, increasing output buffer size helps:
%output --max-buffer=10000000
Thanks. It does make it reset to line start, but it seems to print out of order and/or lose prints after a certain number of them:
So maybe max-time option should be also added %output --max-buffer=10000000 --max-time=100000
%output --max-buffer=100000000 --max-cell-size=100000000
But I think I'll adjust the behavior of \r
itself
When a carriage return is printed to cell output,
With the Python kernel, carriage return works as expected. The use case is to print progress to cell output during a long-running operation.