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, Sep 12, 2004
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.