native-platform
native-platform copied to clipboard
Determine terminal size on MinTTY and Cywin
Any hint on what's left to do to resolve this? According to the code at https://github.com/mintty/mintty/issues/1071, calling ioctl(1, TIOCGWINSZ, &ws); should work to get the number of rows / columns. And as there already is
https://github.com/gradle/native-platform/blob/8a0dc3935d24ab119d0b87d9b3c76cbd5257594b/native-platform/src/main/cpp/posix.cpp#L374
I'm wondering whether it shouldn't "just work"?