bug-ncurses
[Top][All Lists]
Advanced

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

Re: getch/wgetch question


From: Thomas Dickey
Subject: Re: getch/wgetch question
Date: Tue, 28 Mar 2006 17:31:53 -0500 (EST)

On Tue, 28 Mar 2006, Eric Lenio wrote:

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

no - I don't think there is a workaround.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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