This commit is contained in:
Kovid Goyal
2025-10-15 08:09:29 +05:30
parent ee9a5386b9
commit dd7caaa91b
2 changed files with 3 additions and 3 deletions

View File

@@ -371,7 +371,7 @@ class PTY:
def reset_termios_state(self):
if s := getattr(self, 'initial_termios_state', None):
termios.tcsetattr(self.master_fd, s)
termios.tcsetattr(self.master_fd, termios.TCSANOW, s)
def turn_off_echo(self):
s = termios.tcgetattr(self.master_fd)