Updated PDCurses to allow for a default window size.

This commit is contained in:
casey 2016-07-10 17:24:28 -07:00
parent c097261301
commit 8c784eb087
4 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1526,6 +1526,7 @@ void PDC_set_resize_limits( const int new_min_lines,
const int new_max_lines,
const int new_min_cols,
const int new_max_cols);
void PDC_set_default_size( const int lines, const int cols);
#define FUNCTION_KEY_SHUT_DOWN 0
#define FUNCTION_KEY_PASTE 1

View File

@ -210,6 +210,7 @@ int main(int argc, char* argv[])
#ifdef __PDCURSES__
PDC_set_resize_limits(12, 60, 60, 250);
PDC_set_default_size(26, 100);
PDC_set_function_key(FUNCTION_KEY_SHUT_DOWN, 4);
#endif