Closed rsaxvc closed 2 years ago
Use NCURSES internal SIGWINCH handling to generate KEY_RESIZE. Use KEY_RESIZE to trigger window resize instead of SIGWINCH.
This fixes a crash on some platforms during resize introduced in b622084ac - it's not safe to allocate or reallocate memory during a signal handler.
fixes #51
Use NCURSES internal SIGWINCH handling to generate KEY_RESIZE. Use KEY_RESIZE to trigger window resize instead of SIGWINCH.
This fixes a crash on some platforms during resize introduced in b622084ac - it's not safe to allocate or reallocate memory during a signal handler.
fixes #51