japhy has asked for the wisdom of the Perl Monks concerning the following question:

I'm creating an IRC application with POE and Curses::UI(::POE).

Update: I fixed my focus problem. Now I have another problem, and I can't find anything in the documentation about it.

I want to act like the "end" key was pressed in the TextViewer widget. I can't figure out how to make that event (if it is an 'event') happen.

Update: I got it. I had to look at the source code to figure out how to do it, though:

$scr->{-routines}{'cursor-end'}->($scr);
There's GOT to be a better mechanism than that. Grr.
_____________________________________________________
Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart