mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
Wrong argument order for TIOCSWINSZ
This commit is contained in:
parent
4a5795c469
commit
176676aadd
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ def fork_child(cmd, cwd, opts):
|
|||
|
||||
def resize_pty(w, h):
|
||||
master = create_pty()[0]
|
||||
fcntl.ioctl(master, termios.TIOCSWINSZ, struct.pack('4H', w, h, 0, 0))
|
||||
fcntl.ioctl(master, termios.TIOCSWINSZ, struct.pack('4H', h, w, 0, 0))
|
||||
|
||||
|
||||
def hangup():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue