(self, when: int = termios.TCSANOW)
| 75 | self.stack.append(self.as_list()) |
| 76 | |
| 77 | def set(self, when: int = termios.TCSANOW) -> None: |
| 78 | termios.tcsetattr(self.fd, when, self.as_list()) |
| 79 | |
| 80 | def restore(self) -> None: |
| 81 | self.TS__init__(self.stack.pop()) |