Skip to content

Commit 6398e6a

Browse files
committed
pythongh-128330: Terminal settings are not correctly restored on repl exit
1 parent ffece55 commit 6398e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/fancy_termios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def as_list(self):
4040
self.lflag,
4141
self.ispeed,
4242
self.ospeed,
43-
self.cc,
43+
self.cc[:],
4444
]
4545

4646
def copy(self):

0 commit comments

Comments
 (0)