We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 11 24H2, Python 3.13, running in Windows Terminal from PowerShell, pywinpty version 2.0.14
In the REPL, run:
from winpty import PtyProcess p = PtyProcess.spawn(['python3', '-c', 'print("\033[94mHi\033[0m")']) while not p.eof(): print(p.readline()) print("done")
Expected output (color annotations mine):
Hi (blue) done (default color)
Actual output (color annotations mine):
Hi (blue) done (blue)
Workaround:
p = PtyProcess.spawn(['python3', '-c', 'print("\033[94mHi\033[0m ")'])
Note the trailing space after the last VT code, which ensures that the escape sequence is actually applied.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Windows 11 24H2, Python 3.13, running in Windows Terminal from PowerShell, pywinpty version 2.0.14
In the REPL, run:
Expected output (color annotations mine):
Actual output (color annotations mine):
Workaround:
Note the trailing space after the last VT code, which ensures that the escape sequence is actually applied.
The text was updated successfully, but these errors were encountered: