pdcurses: don't truncate curses window width

The curses windows were being capped at 110 columns
inappropriately.

Use the full width of the console.
This commit is contained in:
nhmall
2026-05-14 22:40:48 -04:00
parent 2eb817af07
commit 5edb093e14
3 changed files with 33 additions and 4 deletions
+12
View File
@@ -2638,6 +2638,18 @@ void nethack_enter_consoletty(void)
nhUse(apisuccess);
}
int
get_console_width(void)
{
return console.width;
}
int
get_console_height(void)
{
return console.height;
}
RESTORE_WARNING_CONDEXPR_IS_CONSTANT
#endif /* TTY_GRAPHICS */