When I using Windows Terminal run cmd, run this code:
from prompt_toolkit.patch_stdout import patch_stdout
with patch_stdout():
for i in range(100):
print('a' * i)
If characters are too many longer than one line, extra part will be cut.
There is expected behavior

There is actual behavior

When I using Windows Terminal run cmd, run this code:
If characters are too many longer than one line, extra part will be cut.
There is expected behavior


There is actual behavior