Commit 6f930c13e1d65c06b5cc40529cad1d73ece62a00
Make is_termresized() work on Windows
Author: xaizek
Author date (UTC): 2024-12-19 16:01
Committer name: xaizek
Committer date (UTC): 2024-12-19 16:05
Parent(s): 7261f485825605539110522af55f6aa2c947a561
Signing key: 99DC5E4DB05F6BE2
Tree: ab2e9fb97fd487c1b239cd510a4a8a19f019b9b6
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) |