Soumendra Ganguly <soumen...@tamu.edu> added the comment:
Adding the test program [ test.py ] as an attachment. It was taken from https://docs.python.org/3/library/pty.html. How to reproduce issue: 1. Notice that the xterm window in before.png is not too wide; this makes the output of "ls" wrap around the xterm window. 2. Run test.py. 3. Run "ls". Solution: 1. Apply latest version of the patch [ pty.diff ]. 2. Run test.pty and run "ls". 3. Run "ls". ---------- Added file: https://bugs.python.org/file49393/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41541> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com