Paul M Foster a écrit :
On Wed, Jan 07, 2009 at 11:11:53PM +, Luke Slater wrote:
Hi,
I'm storing ANSI escape sequences in an array, stored like this:
$connections[$channel][2] = $info['colour'];
$info['$colour'] would contain something like \033[33m
Now, my problem is when I try
The issue isn't that I can't get colours to display on the screen, if I
were to substitute
$pstring = $connections[$channel][2] . $connections[$channel][1] . .
$buffer . chr(7);
for
$pstring = \033[33m . $connections[$channel][1] . .
$buffer . chr(7);
then it would work perfectly.
2 matches
Mail list logo