mirror of
https://github.com/python/cpython.git
synced 2025-11-02 22:51:25 +00:00
[3.13] gh-128330: Terminal control characters should be restored on repl exit (GH-128331) (#129233)
gh-128330: Terminal control characters should be restored on repl exit (GH-128331)
(cherry picked from commit 0b15d9c0d2)
Co-authored-by: Andy Fiddaman <andy@omnios.org>
This commit is contained in:
parent
e3b3e01d6a
commit
52ccf264df
2 changed files with 4 additions and 1 deletions
|
|
@ -40,7 +40,9 @@ def as_list(self):
|
|||
self.lflag,
|
||||
self.ispeed,
|
||||
self.ospeed,
|
||||
self.cc,
|
||||
# Always return a copy of the control characters list to ensure
|
||||
# there are not any additional references to self.cc
|
||||
self.cc[:],
|
||||
]
|
||||
|
||||
def copy(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue