Subject: | KEY_RESIZE not exported to Perl |
Hello,
After experimenting with this module, i wasn't able to use the
KEY_RESIZE constant. `grep KEY_RESIZE /usr/include/curses.h` yields
octal number 0632 at my system, and I used that number instead of the
missing exported constant.
It is possible to add KEY_RESIZE in CursesBoot.c:
#ifdef KEY_RESIZE
C_NEWCS("KEY_RESIZE", KEY_RESIZE);
#endif
..and putting KEY_RESIZE in the EXPORT array in Curses.pm
Perhaps some other constants are missing as well.
I think this is important, even critical though using the octal constant
may work for many systems. It may not be 100% portable.