Skip to content

Commit 17877b6

Browse files
committed
fix: merge regress
Signed-off-by: yihong0618 <[email protected]>
1 parent b3a41eb commit 17877b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/_pyrepl/unix_console.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ def prepare(self):
350350
self.__svtermstate = tcgetattr(self.input_fd)
351351
self.__buffer = []
352352

353-
self.__svtermstate = tcgetattr(self.input_fd)
354-
raw = self.__svtermstate.copy()
353+
raw = tcgetattr(self.input_fd).copy()
355354
raw.iflag &= ~(termios.INPCK | termios.ISTRIP | termios.IXON)
356355
raw.oflag &= ~(termios.OPOST)
357356
raw.cflag &= ~(termios.CSIZE | termios.PARENB)

0 commit comments

Comments
 (0)