Open AnzhiZhang opened 3 years ago
This bug will run only on Windows Terminal(sorry i am on chinese win):
It is not dependent of run cmd or Powershell in Terminal
In fact, I can get same error in both Windows Console Host and Windows Terminal (1.12.10334.0) on Windows 11 by using the script below
from prompt_toolkit.patch_stdout import patch_stdout
with patch_stdout():
print('a' * 300)
(I'm also in a Chinese Win)
Perhaps this issue should be called "Add auto wordwrap for StdoutProxy"
This problem is caused by Vt100_Output
...
i fix this issue on my branch: https://github.com/GreyElaina/python-prompt-toolkit
Hello, is anyone working on this issue?
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