Sec has asked for the wisdom of the Perl Monks concerning the following question:
This might be a problem with my understanding with Curses more than with perl, but please help me out.
I'm using Curses.pm which works quite well except when I try to create a curses "window".
Example code:
outputs nothing, not using a window works fine:use Curses; initscr; $w=newwin(1,1,40,40); $w->addstr(20,20,"Hello"); $w->refresh; refresh; endwin;
use Curses; initscr; $w=newwin(1,1,40,40); addstr(20,20,"Hello"); refresh; endwin;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Curses problem
by FunkyMonk (Chancellor) on Dec 27, 2008 at 11:46 UTC | |
by Sec (Monk) on Dec 27, 2008 at 14:28 UTC | |
Re: Curses problem
by spadacciniweb (Curate) on Dec 27, 2008 at 11:40 UTC |
Back to
Seekers of Perl Wisdom