Set an initial TIOCSWINSZ right after opening the pty #22

Manually merged
dnkl merged 1 commits from initial-tiocswinsz into master 2 years ago
dnkl commented 2 years ago
Owner

Since foot is pretty aggressive about spawning the client early, it was possible for a fast client to read a 0x0 terminal size. Not all clients coped well.

Closes #20.

@drv28: it would be great if you could test this one quickly. It is almost identical to the patch in #20, but still... :)

Since foot is pretty aggressive about spawning the client early, it was possible for a fast client to read a 0x0 terminal size. Not all clients coped well. Closes #20. @drv28: it would be great if you could test this one quickly. It is _almost_ identical to the patch in #20, but still... :)

Works great. Thanks again.

Works great. Thanks again.
dnkl closed this pull request 2 years ago
The pull request has been manually merged as f1c8ccddde.
Sign in to join this conversation.
Loading…
There is no content yet.