Collin Funk wrote: > Since termios.h defines 'struct winsize' on all platforms I think that > pty.h should also do the same.
Yes, given the description of <pty.h> in https://www.gnu.org/software/libc/manual/html_node/Pseudo_002dTerminal-Pairs.html this seems reasonable. > I've committed a patch doing that and > adding a basic C check program for types. Thanks! Bruno