Commit c387519aa24f306551d4ef367bb0a7dd8d9b8e04
Make is_termresized() work on Windows
Author: xaizek
Author date (UTC): 2019-03-20 12:26
Committer name: xaizek
Committer date (UTC): 2019-03-20 12:26
Parent(s): 47e510e053ecf7e00ad923fdb65b5894ad442d9b
Signing key: 99DC5E4DB05F6BE2
Tree: cbb2e19c3d86eb4032fd73fe436dd1f404833f43
File pdcurses/initscr.c changed (mode: 100644) (index d80fa0cf..ebaac348) |
... |
... |
bool is_termresized(void) |
330 |
330 |
{ |
{ |
331 |
331 |
PDC_LOG(("is_termresized() - called\n")); |
PDC_LOG(("is_termresized() - called\n")); |
332 |
332 |
|
|
333 |
|
return SP->resized; |
|
|
333 |
|
return SP->resized |
|
334 |
|
|| SP->lines != PDC_get_rows() |
|
335 |
|
|| SP->cols != PDC_get_columns(); |
334 |
336 |
} |
} |
335 |
337 |
|
|
336 |
338 |
const char *curses_version(void) |
const char *curses_version(void) |