There was an error while loading. Please reload this page.
1 parent 5b758c0 commit 9978279Copy full SHA for 9978279
1 file changed
moler/io/raw/pty_process_unicode.py
@@ -91,7 +91,7 @@ def setwinsize(self, rows: int, cols: int) -> None:
91
try:
92
termios.tcsetwinsize(self.fd, (rows, cols))
93
except AttributeError:
94
- # Fallback for Python/platforms that do not expose tcsetwinsize(). < 3.10
+ # Fallback for Python/platforms that do not expose tcsetwinsize(). <= 3.10
95
tiocswinsz = getattr(termios, "TIOCSWINSZ", -2146929561)
96
window_size = struct.pack("HHHH", rows, cols, 0, 0)
97
fcntl.ioctl(self.fd, tiocswinsz, window_size)
0 commit comments