Access console window size
Currently, winpty allows to set window size via winpty_set_size in winpty.h.
However, I couldn't find a way to access window size (no winpty_get_size API).
Is it possible to access window size by other means?
There's currently no way to retrieve the window size.
Can you use the value last passed to winpty_set_size, or are you trying to accommodate console programs that resize the console window/buffer?
Thanks, currently, the value last passed to winpty_set_size is used: https://github.com/JetBrains/pty4j/commit/3f0fbce33ce0c2231f84feae28b09abd50fd6fe8#diff-385b08a79e19a17a08ef52bc324383f9
Do you mean that it's impossible to retrieve the window size or it's just not implemented yet, but possible?