[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 28 Mar 2006 11:20:28 -0500
I've developed an application in Perl which uses the Curses.pm
module. The application uses ncurses 'pad' windows, and thus all
input to the application is received via wgetch. stdscr is not used.
I am now attempting to integrate this application to use the event loop
provided by the POE library. Not to get too deep into POE but it
contains a module POE::Wheel::Curses.pm which should be responsible for
all keyboard input. This library however uses getch, not wgetch.
If I understand things correctly getch only applies to stdscr.
Since I don't use stdscr, when POE uses getch it effectively
"overwrites" all of my pad windows with stdscr.
Do I have any options here, assuming I want to continue to use
pads and assuming I want to use the POE library "as is"?
- getch/wgetch question,
Eric Lenio <=