utilize more real estate on Windows GUI curses

Some inventory items were being hidden in a lengthy list.
This commit is contained in:
nhmall
2026-05-15 01:21:45 -04:00
parent accb14b797
commit 99f559fe18
3 changed files with 34 additions and 2 deletions
+12
View File
@@ -1252,6 +1252,18 @@ error:
}
#undef win32err
#ifdef MSWIN_GRAPHICS
int
get_approx_window_column_width(void)
{
return GetSystemMetrics(SM_CXSCREEN) / 8;
}
int
get_approx_window_rows(void)
{
return GetSystemMetrics(SM_CYSCREEN) / 12;
}
#endif
#include <shellapi.h>
#define MAX_SYM_SIZE 100