Commit e193df0058bca5182bb37f156f7fbb4277793c26
Make is_termresized() work on Windows
Author: xaizek
Author date (UTC): 2024-12-19 16:07
Committer name: xaizek
Committer date (UTC): 2024-12-19 16:08
Parent(s): f2149a569dce73c7ce40d82307b04f67c279b4e3
Signing key: 99DC5E4DB05F6BE2
Tree: 20146629011395399667f1ef85d446013afe666a
File pdcurses/initscr.c changed (mode: 100644) (index efa5cc62..ac98bf61) |
... |
... |
bool is_termresized(void) |
342 |
342 |
{ |
{ |
343 |
343 |
PDC_LOG(("is_termresized() - called\n")); |
PDC_LOG(("is_termresized() - called\n")); |
344 |
344 |
|
|
345 |
|
return SP->resized; |
|
|
345 |
|
return SP->resized |
|
346 |
|
|| SP->lines != PDC_get_rows() |
|
347 |
|
|| SP->cols != PDC_get_columns(); |
346 |
348 |
} |
} |
347 |
349 |
|
|
348 |
350 |
const char *curses_version(void) |
const char *curses_version(void) |