You are not logged in.
Hello,
i use a lot of commandline tools based on php. But they dont display any colored output? I cant find anything usefull for that on google.
I use zsh.
Colors are working for other commands (e.g. ls):
http://i.imgur.com/TGqpLCI.png
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Offline
It's the program that outputs text in colour. `ls` prints escape sequences along with the visible output to make it appear in colour. zsh does the same thing (e.g. for the prompt).
You can
printf "\033[31mHello!\033[0m\n"and it will be in colour, too.
You could directly address the author of said software, so that they add coloured output.
Otherwise, could you also be a little more precise about which tools you are using? Your post does not contain lots of information (it's always a good habit to be as precise as possible when asking questions), so I doubt anyone on this forum will be able to help you.
Last edited by ayekat (2015-06-02 16:08:42)
Offline