Skip to content

Commit 9978279

Browse files
F
1 parent 5b758c0 commit 9978279

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

moler/io/raw/pty_process_unicode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def setwinsize(self, rows: int, cols: int) -> None:
9191
try:
9292
termios.tcsetwinsize(self.fd, (rows, cols))
9393
except AttributeError:
94-
# Fallback for Python/platforms that do not expose tcsetwinsize(). < 3.10
94+
# Fallback for Python/platforms that do not expose tcsetwinsize(). <= 3.10
9595
tiocswinsz = getattr(termios, "TIOCSWINSZ", -2146929561)
9696
window_size = struct.pack("HHHH", rows, cols, 0, 0)
9797
fcntl.ioctl(self.fd, tiocswinsz, window_size)

0 commit comments

Comments
 (0)