Add API to set the window size of a pty.
Ptys opened via fd_openpty()
on Windows default to a window size of 80 x 25. The console driver appears to insert line breaks when it reaches column 80. This is usually not what you want. Having longer lines would reduce the number of inserted line breaks.
On POSIX systems the pty window size would be expected to be set via File()->tcsetattr()
, but it explicitly does NOT support setting the window size.