]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85984: New additions and improvements to the tty library. (#101832)
authorSoumendra Ganguly <67527439+8vasu@users.noreply.github.com>
Fri, 19 May 2023 18:13:30 +0000 (13:13 -0500)
committerGitHub <noreply@github.com>
Fri, 19 May 2023 18:13:30 +0000 (18:13 +0000)
commit486bc8e03019b8edc3cbfc6e64db96d65dbe13b6
treef915ebbc176bb67fd20a7693450d7da8b7f6f974
parent3ac856e69734491ff8423020c700c9ae86ac9a08
gh-85984: New additions and improvements to the tty library. (#101832)

New additions to the tty library. Functions added: cfmakeraw(), and cfmakecbreak(). The
functions setcbreak() and setraw() now return original termios to save an extra tcgetattr() call.

---------

Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Doc/library/tty.rst
Lib/tty.py
Misc/NEWS.d/next/Library/2023-02-11-21-18-10.gh-issue-85984.nvzOD0.rst [new file with mode: 0644]