Adding color to pager_printf?

Posted by Oblisgr on Mon 27 Jan 2020 09:57 PM — 2 posts, 11,891 views.

#0
can anyone tell me how i add color to this line?
i want for example "
WIS:
to be yellow and
%2.2d(%2.2d
be red,


pager_printf( ch, "WIS: %2.2d(%2.2d)   Pos'n : %-21.21s Weight: %3.3dkg (max %3.3dkg)\r\n",
                 get_curr_con( ch ), ch->perm_con, buf, ch->carry_weight, can_carry_w( ch ) );
USA Global Moderator #1
I believe that you can just insert color codes like &R and &Y.