]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114328: tty cbreak mode should not alter ICRNL (#114335)
authorGregory P. Smith <greg@krypto.org>
Sun, 21 Jan 2024 23:25:52 +0000 (15:25 -0800)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2024 23:25:52 +0000 (15:25 -0800)
commitfd49e226700e2483a452c3c92da6f15d822ae054
treee7077e2bd31e3e365ece2657e1265adbfca47e6e
parentdb1c18eb6220653290a3ba9ebbe1df44394a3f19
gh-114328: tty cbreak mode should not alter ICRNL (#114335)

The terminal CR -> NL mapping setting should be inherited in cbreak mode as OSes do not specify altering it as part of their stty cbreak mode definition.
Doc/library/tty.rst
Lib/test/test_tty.py
Lib/tty.py
Misc/NEWS.d/next/Library/2024-01-19-15-48-06.gh-issue-114328.hixxW3.rst [new file with mode: 0644]