Curses chgat

Discussion in 'Perl' started by Michael J. Barillier, Sep 12, 2004.

  1. 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
    Michael J. Barillier, Sep 12, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Skeleton Man

    curses and color

    Skeleton Man, May 25, 2004, in forum: Perl
    Replies:
    0
    Views:
    616
    Skeleton Man
    May 25, 2004
  2. M.Senthil Kumar

    Boxline in curses ( Linux )

    M.Senthil Kumar, Feb 21, 2004, in forum: C Programming
    Replies:
    7
    Views:
    781
    Richard Bos
    Feb 23, 2004
  3. Alex

    Curses module.

    Alex, Jul 16, 2003, in forum: Python
    Replies:
    2
    Views:
    783
  4. Chatralias
    Replies:
    0
    Views:
    385
    Chatralias
    Jul 20, 2003
  5. Jean-Paul Calderone
    Replies:
    2
    Views:
    436
    Joel Hedlund
    Feb 9, 2006
Loading...

Share This Page