]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-114328: tty cbreak mode should not alter ICRNL (GH-114335) (#114410)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 21 Jan 2024 23:41:03 +0000 (00:41 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2024 23:41:03 +0000 (23:41 +0000)
commit33c1907de2710e7449a38aa27e7b55f274792342
tree28892f4036b190dc83794cd6bc182d3a39d123df
parent4c42d981542372f57bc0071481dee42dbf119927
[3.12] gh-114328: tty cbreak mode should not alter ICRNL (GH-114335) (#114410)

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.
(cherry picked from commit fd49e226700e2483a452c3c92da6f15d822ae054)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
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]