Environment:
- PDCurses latest version
- Windows 10
- Visual Studio 2015 Update 2
Problem
PDCurses provides a function getmaxxy
to get the maximum x and y coordinates of the screen. This returns correct values on startup, but if I resize the window with the mouse and then call getmaxxy
again, I get back the same values.
Is this a bug/limitation in pdcurses? Is there a windows specific way to get this information instead?
I have also tried this windows specific solution and it too, always returns the startup values: Getting terminal size in c for windows?