bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getch/wgetch question


From: Eric Lenio
Subject: getch/wgetch question
Date: Tue, 28 Mar 2006 11:20:28 -0500
User-agent: Mutt/1.5.11

Hi -

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"?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]