Curses chgat

  • Thread starter Michael J. Barillier
  • Start date
M

Michael J. Barillier

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!
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top