Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 38257
Status: resolved
Priority: 0/
Queue: Curses

People
Owner: Nobody in particular
Requestors: chromisx [...] nedlinux.nl
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.23
Fixed in: (no value)



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.
OK, I'll put that in 1.24.