Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Curses chgat

Reply
Thread Tools

Curses chgat

 
 
Michael J. Barillier
Guest
Posts: n/a
 
      09-12-2004
Does anyone have a working example of using the `chgat' function from
Curses.pm? I've tried something similar to the following:

,----
| use Curses;
| initscr();
| $win = new Curses;
| ...
| $win->move($y,$x);
| $win->chgat(20,A_BOLD,0);
| $win->refresh;
`----

(to change 20 characters starting at ($x,$y)) and I get nothing. Any
comments would be helpful (a working example moreso).

Thanks!

--
Michael J. Barillier | ``When you have to shoot, shoot.
<blackwolf(at)shadizar.dyndns.org> | Don't talk.''
Public key available on request. | -- Tuco Ramirez
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Replacing curses (Was: Re: Problem with curses and UTF-8) Jean-Paul Calderone Python 2 02-09-2006 08:29 AM
curses and color Skeleton Man Perl 0 05-25-2004 10:14 AM
Boxline in curses ( Linux ) M.Senthil Kumar C Programming 7 02-23-2004 11:39 AM
Re: Stopping a loop with user input. in curses Chatralias Python 0 07-20-2003 03:09 PM
Curses module. Alex Python 2 07-17-2003 07:25 AM



Advertisments