Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 89c89,95
- < $anim->color(1);
- ---
- > $anim->color(1);
- > use_default_colors();
- > my $cid = 1;
- > for my $f ('WHITE', 'RED', 'GREEN', 'BLUE', 'CYAN', 'MAGENTA', 'YELLOW', 'BLACK') {
- > init_pair($cid, eval "Curses::COLOR_$f", -1);
- > $cid++;
- > }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement